Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 72
Default Conditional format for future date

Hi All
I have entered todays date into a cell and I would like that cell to change
colour 2 months in the future. I know I have used =TODAY()-60 for dates equal
to or greater than than 2 months past. What would the formula be for a future
date?

Thankyou, Kerry
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Conditional format for future date

If you were happy with TODAY()-60 as a rough approximation for 2 months in
the past, then perhaps you might think about what sign you could put instead
of the minus sign for 2 months in the future?
If you really wanted 2 months before today, you wouldn't have used
TODAY()-60, but instead would have had
DATE(YEAR(TODAY()),MONTH(TODAY())-2,DAY(TODAY()))
and for 2 days in the future you would have
DATE(YEAR(TODAY()),MONTH(TODAY())+2,DAY(TODAY()))
Note that you may also want to think about what date you regard as being 2
months after 31st December, or 2 months before 30th April, for example.
--
David Biddulph

"Kerry" wrote in message
...
Hi All
I have entered todays date into a cell and I would like that cell to
change
colour 2 months in the future. I know I have used =TODAY()-60 for dates
equal
to or greater than than 2 months past. What would the formula be for a
future
date?

Thankyou, Kerry



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 72
Default Conditional format for future date

Thanks David,

I think I answered my own question already in that the date in the cell will
be 60 days in the past in 2 months time so the formula =TODAY()-60 is
probably a valid formula. I will experiment with the formula you have
provided as I am not sure how it works. Much appreciate your help.

Kerry


"David Biddulph" wrote:

If you were happy with TODAY()-60 as a rough approximation for 2 months in
the past, then perhaps you might think about what sign you could put instead
of the minus sign for 2 months in the future?
If you really wanted 2 months before today, you wouldn't have used
TODAY()-60, but instead would have had
DATE(YEAR(TODAY()),MONTH(TODAY())-2,DAY(TODAY()))
and for 2 days in the future you would have
DATE(YEAR(TODAY()),MONTH(TODAY())+2,DAY(TODAY()))
Note that you may also want to think about what date you regard as being 2
months after 31st December, or 2 months before 30th April, for example.
--
David Biddulph

"Kerry" wrote in message
...
Hi All
I have entered todays date into a cell and I would like that cell to
change
colour 2 months in the future. I know I have used =TODAY()-60 for dates
equal
to or greater than than 2 months past. What would the formula be for a
future
date?

Thankyou, Kerry




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
save as future date eg expected delivery date ryan Excel Discussion (Misc queries) 0 June 21st 07 03:35 PM
Conditional format when date is near tommcbrny Excel Worksheet Functions 2 December 15th 06 04:16 PM
Tricky Date calculation: How to calculate a future date [email protected] Excel Discussion (Misc queries) 9 August 11th 06 04:24 AM
formula to calculate future date from date in cell plus days Chicesq Excel Worksheet Functions 8 November 3rd 05 12:25 PM
Calculating days between current date and a date in future NETWORKDAYS() function Faheem Khan Excel Worksheet Functions 2 February 10th 05 07:18 PM


All times are GMT +1. The time now is 11:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"