[mso] Re: Help with Excel formulas please

  • From: "Andrew" <tyto2820@xxxxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Wed, 11 Aug 2004 19:53:17 +0100

Tiffani wrote (today, 11 Aug 2004)

> Example:
> In cell A19 there is a date that says 3-11-05 it should be 
> bolded because it is 6 months in the future from today's Month-Year.
> 

6 months from today is Feb-05.  3 March 05 is more than 6 months

> Another Example:
> 
> In cell A2 There is a date that says 3-26-05 it should be 
> bolded because it is 6 months in the future from today's Month-Year.
> 

26 March 05 is also more than 6 months

It seems to me that you need a formula that says:

If the date in the cell is more than six months from the first of (this
month + 6) AND less than six months from the first of (this month +7) then
mark it as 6 months hence.

i.e. =AND(DATE(YEAR(TODAY()),MONTH(TODAY())+6,1)<=A19,
DATE(YEAR(TODAY()),MONTH(TODAY())+7,1)>A19)

This should give a TRUE for any date in February 2005.

Andrew

*************************************************************
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).
//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: