[mso] Excel function - correction
- From: "Ray Blake" <ray@xxxxxxxxx>
- To: <mso@xxxxxxxxxxxxx>
- Date: Tue, 30 Dec 2003 06:16:01 -0000
Johan mailed me offlist to point out a problem in the formula I posted
yesterday, which produced for him the interesting date range of "29 - 33
December 2003". Here's the reply I sent him with a corrected formula,
just in case anyone else was following this one...
Yes, my fault, The formula has one crucial number in the wrong place.
Instead of:
=DAY(L9+CHOOSE(WEEKDAY(L9),1,7,6,5,4,3,2))&" -
"&DAY(L9+CHOOSE(WEEKDAY(L9),1,7,6,5,4,3,2))+4&"
"&CHOOSE(MONTH(L9+CHOOSE(WEEKDAY(L9),1,7,6,5,4,3,2)),"January","February
","March","April","May","June","July","August","September","October","
November","December")&" "&YEAR(L9+CHOOSE(WEEKDAY(L9),1,7,6,5,4,3,2))
- it should read:
=DAY(L9+CHOOSE(WEEKDAY(L9),1,7,6,5,4,3,2))&" -
"&DAY(L9+4+CHOOSE(WEEKDAY(L9),1,7,6,5,4,3,2))&"
"&CHOOSE(MONTH(L9+CHOOSE(WEEKDAY(L9),1,7,6,5,4,3,2)),"January","February
","March","April","May","June","July","August","September","October","
November","December")&" "&YEAR(L9+CHOOSE(WEEKDAY(L9),1,7,6,5,4,3,2))
Now it will work properly.
Apologies,
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
*************************************************************
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:
- » [mso] Excel function - correction