Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-01-2011, 03:35 PM
jmsa7 jmsa7 is offline Question Windows XP Question Office 2007
Novice
Question
 
Join Date: Dec 2011
Posts: 2
jmsa7 is on a distinguished road
Default Question

Hello,

I have a column with dates (day/month/year format)

For each date (row) I want that if that date is older than 4 years the cell goes red. Otherwise goes green.

So basically it is just comparing the date introduced with the current system date. If older than 4 years cell goes red, otherwise goes green.

Is that possible with Excel 2007?

Cheers
Reply With Quote
  #2  
Old 12-02-2011, 09:26 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Question Windows XP Question Office 2003
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,770
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Hi and welcome to the board

Supposing your date is in A1 enter the following conditions for

RED : =A1<DATE(YEAR(TODAY())-4,MONTH(TODAY()),DAY(TODAY()))
GREEN =A1<>""

Cell will stay default color if empty
Reply With Quote
  #3  
Old 12-12-2011, 04:10 PM
jmsa7 jmsa7 is offline Question Windows XP Question Office 2007
Novice
Question
 
Join Date: Dec 2011
Posts: 2
jmsa7 is on a distinguished road
Default

Quote:
Originally Posted by Pecoflyer View Post
Hi and welcome to the board

Supposing your date is in A1 enter the following conditions for

RED : =A1<DATE(YEAR(TODAY())-4,MONTH(TODAY()),DAY(TODAY()))
GREEN =A1<>""

Cell will stay default color if empty
Sorry but could you tell me exactly where do I put that conditions?

Thx
Reply With Quote
  #4  
Old 12-13-2011, 01:44 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Question Windows XP Question Office 2003
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,770
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Use the Home ribbon - conditional formatting - New rule - use the " formula is" option
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
ppt question fat PowerPoint 0 10-06-2011 01:33 PM
Question Hypertext Question Juc1 Word 6 05-05-2011 06:09 AM
Question One to many and many to one question Girlie4 Excel 3 08-09-2009 08:02 PM
Need help with this question... lllDNYlll Outlook 0 05-04-2006 07:17 AM
Categories question & replying with attachment question glitzymama Outlook 0 03-15-2006 09:32 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:42 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft