LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Adding/Subtracting Dates and Conditional Formatting

Je 9 Apr 2006 17:36:21 -0700, "Seddie" skribis:

I have a worksheet I use for fleet management. One cell has the date
of the last oil change on a vehicle. Using conditional formating, I
would like that cell to turn green when it has been 90 days since the
last oil change.

Can someone please help me with this?


I'm assuming you know about the format part, and are looking for help
to set the condition.

Cell Value Is, Less Than, =NOW()-90.

The NOW() function will give today's date. The formula subtracts 90
days. The function will be True when the date in the cell is more than
90 days old.

Note that this will not exactly match the date that we usually give as
"90 days", such as in payment terms.

For example, 90 days after June 30 is usually taken to be September
30. However, 90 days later is actually September 28. That can be
programmed too, it just takes a few more steps. It's probably been
done already, as an add-in.

Steven


--
Steven M - lid
(remove wax and invalid to reply)

A fool and his money are soon elected. -- Will Rogers
 
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
Conditional Formatting: Adding more then 3 davednconfused Excel Worksheet Functions 3 July 17th 08 12:36 AM
Conditional Formatting- adding more than 3 conditions steve-o Excel Discussion (Misc queries) 6 November 7th 07 10:46 PM
Adding and subtracting dates Bjair Excel Worksheet Functions 3 August 9th 06 05:25 AM
Adding/Subtracting Dates & Times Kim17740 Excel Worksheet Functions 2 April 12th 06 01:04 AM
Adding more than three Conditions to 'Conditional Formatting' David McRitchie Excel Discussion (Misc queries) 1 November 27th 04 06:03 PM


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