[mso] Re: Excel Function - Explanation needed

Yes, Johan, replace the formula in B2 with this:

=B1+CHOOSE(WEEKDAY(B1),1,7,6,5,4,3,2)

Then fill down as before. To be honest, if you're only looking for one
day a week, then from B3 onwards, the formula could just be:

=B2+7

Ray

_____________

This email is from Ray Blake, Head of Software Design, GR Business
Process Solutions. It is confidential and intended for the addressee
only. The contents are private and may be legally privileged. If you
receive this email in error we would be grateful if you would advise the
sender and delete the email from your system.

For more information on the services that we offer please visit us at
our website: - www.grbps.com 



-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On
Behalf Of Johan Louw (JG)
Sent: 29 December 2003 11:18
To: ms_excel@xxxxxxxxxxxxxxx; mso@xxxxxxxxxxxxx
Subject: [mso] Excel Function - Explanation needed


Hi all

I came across this function, which will show you only all the
Saturdays and Wednesdays, from the date entered  in Cell B1 onwards.

E.g.:

Format Column A: Custom "ddd"
In A1: Enter "=3DB1"
Then fill down Column A

Format Column B: Custom "d mmm yyyy"
In B1: Enter any date e.g. "01/01/2003"

In B2: "=3DB1+CHOOSE(WEEKDAY(B1),3,2,1,3,2,1,4)"
Then fill down Column B

You will notice the dates displayed down the columns will be
alternating only between every Saturday and Wednesday.

Now my question:

Can this formula be changed so that it will only show Mondays?

Any help will be dearly appreciated.

With Kind Regards

Johan

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: