A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

conditional formatting



 
 
Thread Tools Display Modes
  #1  
Old May 14th, 2010, 08:56 AM posted to microsoft.public.excel.misc
Teeny
external usenet poster
 
Posts: 7
Default conditional formatting

I have a column of dates and I want to highlight in red all dates that are
equal to and more than 3 years old

For example if the date is 02/10/04 this should be highlighted in red.

I would appriciate anyones help!
  #2  
Old May 14th, 2010, 09:28 AM posted to microsoft.public.excel.misc
grizzly6969
external usenet poster
 
Posts: 80
Default conditional formatting

say your date is in A15 ----conditional formal / formula is
=and(A15today()-1095)
and format to your colour
--
grizz


"Teeny" wrote:

I have a column of dates and I want to highlight in red all dates that are
equal to and more than 3 years old

For example if the date is 02/10/04 this should be highlighted in red.

I would appriciate anyones help!

  #3  
Old May 14th, 2010, 09:28 AM posted to microsoft.public.excel.misc
RonaldoOneNil
external usenet poster
 
Posts: 345
Default conditional formatting

Try setting the condition to
Cell Value is
Not Between
=TODAY()
=TODAY()-(365*3)

"Teeny" wrote:

I have a column of dates and I want to highlight in red all dates that are
equal to and more than 3 years old

For example if the date is 02/10/04 this should be highlighted in red.

I would appriciate anyones help!

  #4  
Old May 14th, 2010, 09:28 AM posted to microsoft.public.excel.misc
Roger Govier[_8_]
external usenet poster
 
Posts: 338
Default conditional formatting

Hi Teeny

Select your range of dataFormatConditional Formattingform dropdown
choose Formula is =DATEDIF(A1,TODAY(),"y")=3
Choose Red Font

Change A1 to the appropriate reference for the range of data you choose
--
Regards
Roger Govier

Teeny wrote:
I have a column of dates and I want to highlight in red all dates that are
equal to and more than 3 years old

For example if the date is 02/10/04 this should be highlighted in red.

I would appriciate anyones help!

  #5  
Old May 14th, 2010, 09:35 AM posted to microsoft.public.excel.misc
MS-Exl-Learner
external usenet poster
 
Posts: 135
Default conditional formatting

Assume that you are having the Date Values in A Column. Place the cursor in
A1 cell and press Cntrll+Spacebar and now the total A Column will be getting
selected. A1 should be the active cell (Active Cell will have a white
Background after selection also).

Excel 2003:-
Select FormatConditional FormattingCondition 1Formula Is
=AND($A1"",DATEDIF($A1,TODAY(),"Y")=3)
Then Click the Format command button and choose your desired Font and
Pattern colour and give Ok…

Excel 2007:-

Click HomeConditional FormattingManage Rules
OR
Alt+O+D
Click New RuleSelect Use Formula to determine which cell to FormatFormat
Values Where This Formula is True Copy and paste the below formula
=AND($A1"",DATEDIF($A1,TODAY(),"Y")=3)
Click OkApplyOk.

Remember to Click Yes, if this post helps!

--------------------
(Ms-Exl-Learner)
--------------------


"Teeny" wrote:

I have a column of dates and I want to highlight in red all dates that are
equal to and more than 3 years old

For example if the date is 02/10/04 this should be highlighted in red.

I would appriciate anyones help!

  #6  
Old May 14th, 2010, 09:44 AM posted to microsoft.public.excel.misc
grizzly6969
external usenet poster
 
Posts: 80
Default conditional formatting

you are absolutely correct I didn't think of a leap year
--
grizz


"מיכאל (מיקי) אבידן" wrote:

Usually, Excel is used for precise calculations - therefor I don't think the
suggestion to reduce 1095 days (365*3) is a good idea because of some leap
years with 366 days [such as 2008].
Micky


"grizzly6969" wrote:

say your date is in A15 ----conditional formal / formula is
=and(A15today()-1095)
and format to your colour
--
grizz


"Teeny" wrote:

I have a column of dates and I want to highlight in red all dates that are
equal to and more than 3 years old

For example if the date is 02/10/04 this should be highlighted in red.

I would appriciate anyones help!

  #7  
Old May 14th, 2010, 09:47 AM posted to microsoft.public.excel.misc
Teeny
external usenet poster
 
Posts: 7
Default conditional formatting

Thanks, this is similar to thow I have been doing it, however I need to
subtract full years and not 365 days as I realised this does not account for
leap years.

"RonaldoOneNil" wrote:

Try setting the condition to
Cell Value is
Not Between
=TODAY()
=TODAY()-(365*3)

"Teeny" wrote:

I have a column of dates and I want to highlight in red all dates that are
equal to and more than 3 years old

For example if the date is 02/10/04 this should be highlighted in red.

I would appriciate anyones help!

  #8  
Old May 14th, 2010, 09:49 AM posted to microsoft.public.excel.misc
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default conditional formatting

Please check your other post.

--
Jacob (MVP - Excel)


"Teeny" wrote:

I have a column of dates and I want to highlight in red all dates that are
equal to and more than 3 years old

For example if the date is 02/10/04 this should be highlighted in red.

I would appriciate anyones help!

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:33 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 OfficeFrustration.
The comments are property of their posters.