#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Formula Question

How do I automatically get the font color to change if I have a date that is
over 18 months old.....like I have February 1 2006 I want that to change to
Red because it is over 18 months old.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default Formula Question

Format Conditional Formatting select Formula Is form the dropdown and
enter:

=DATEDIF($G$4,TODAY(),"m")=18

Change the $G$4 to your own reference

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Rachel" <Rachel @discussions.microsoft.com wrote in message
...
How do I automatically get the font color to change if I have a date that
is
over 18 months old.....like I have February 1 2006 I want that to change
to
Red because it is over 18 months old.

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 113
Default Formula Question

Thank you Sandy...that worked...I just realized though I need to color code
different if its over 6 months as well as under can that be added to the
formula to?

example

Feb 1, 2006 over 18months needs to be Red
May 06 over six months needs to be blue
anything under 6 months needs to be green

Thanks

"Sandy Mann" wrote:

Format Conditional Formatting select Formula Is form the dropdown and
enter:

=DATEDIF($G$4,TODAY(),"m")=18

Change the $G$4 to your own reference

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Rachel" <Rachel @discussions.microsoft.com wrote in message
...
How do I automatically get the font color to change if I have a date that
is
over 18 months old.....like I have February 1 2006 I want that to change
to
Red because it is over 18 months old.

Thanks




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default Formula Question

Did you have the over 18 moths first then the over 6 months? You don't
actually need an under 6 months because that will be the colour that you set
the cell to.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Rachel" wrote in message
...
I did this and changed the colors but they all changed red

"Sandy Mann" wrote:

You can have three levels of Conditional formatting. Use the same
formula
with different = values and colours

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Rachel" wrote in message
...
Thank you Sandy...that worked...I just realized though I need to color
code
different if its over 6 months as well as under can that be added to
the
formula to?

example

Feb 1, 2006 over 18months needs to be Red
May 06 over six months needs to be blue
anything under 6 months needs to be green

Thanks

"Sandy Mann" wrote:

Format Conditional Formatting select Formula Is form the dropdown
and
enter:

=DATEDIF($G$4,TODAY(),"m")=18

Change the $G$4 to your own reference

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Rachel" <Rachel @discussions.microsoft.com wrote in message
...
How do I automatically get the font color to change if I have a date
that
is
over 18 months old.....like I have February 1 2006 I want that to
change
to
Red because it is over 18 months old.

Thanks













  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Formula Question

Format/ Conditional Formatting:
Cell Value is/ Less than: =TODAY()-(365*1.5) or
Formula is: =DATEDIF(A1,TODAY(),"m")=18

Choose your font colour.
--
David Biddulph

"Rachel" <Rachel @discussions.microsoft.com wrote in message
...
How do I automatically get the font color to change if I have a date that
is
over 18 months old.....like I have February 1 2006 I want that to change
to
Red because it is over 18 months old.

Thanks



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default Formula Question

"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
Cell Value is/ Less than: =TODAY()-(365*1.5)


Very minor point but (365*1.5) is 547.5 so the colour would change during
the day. Perhaps:

=DATE(YEAR(TODAY())-1,MONTH(TODAY())-6,DAY(TODAY()))

or INT(365*1.5)

--

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
Format/ Conditional Formatting:
Cell Value is/ Less than: =TODAY()-(365*1.5) or
Formula is: =DATEDIF(A1,TODAY(),"m")=18

Choose your font colour.
--
David Biddulph

"Rachel" <Rachel @discussions.microsoft.com wrote in message
...
How do I automatically get the font color to change if I have a date that
is
over 18 months old.....like I have February 1 2006 I want that to change
to
Red because it is over 18 months old.

Thanks






  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 113
Default Formula Question

Got It!!!! I used =TODAY()-(365*1.5) formula and I was able to get them all
the change the correct color just change 1.5 to .5 and 0...THANKS SO MUCH!

"Sandy Mann" wrote:

"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
Cell Value is/ Less than: =TODAY()-(365*1.5)


Very minor point but (365*1.5) is 547.5 so the colour would change during
the day. Perhaps:

=DATE(YEAR(TODAY())-1,MONTH(TODAY())-6,DAY(TODAY()))

or INT(365*1.5)

--

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
Format/ Conditional Formatting:
Cell Value is/ Less than: =TODAY()-(365*1.5) or
Formula is: =DATEDIF(A1,TODAY(),"m")=18

Choose your font colour.
--
David Biddulph

"Rachel" <Rachel @discussions.microsoft.com wrote in message
...
How do I automatically get the font color to change if I have a date that
is
over 18 months old.....like I have February 1 2006 I want that to change
to
Red because it is over 18 months old.

Thanks







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
Formula Question Phxlatinoboi® Excel Discussion (Misc queries) 3 June 1st 07 01:14 AM
Formula Question casdaq Excel Worksheet Functions 0 May 3rd 07 11:35 PM
Formula question bgrearick Excel Discussion (Misc queries) 1 December 31st 06 09:24 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
Formula Question thereclas Excel Worksheet Functions 4 March 20th 06 11:40 PM


All times are GMT +1. The time now is 10:03 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"