Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 989
Default Conditional Formatting based on a due date

How can I have a cell change color based on the fact that it is still empty
"X" number of days past another date in an adjacent cell?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,510
Default Conditional Formatting based on a due date

Hi Mark,

Use Conditional format and set formula as follows:-

=AND(TODAY()-B2=7,A2="")

Assumes that:-
A2 is the cell with conditional format
B2 has the date to compare to today's date
7 is the number of days between today and date in B2

--
Regards,

OssieMac


"Mark" wrote:

How can I have a cell change color based on the fact that it is still empty
"X" number of days past another date in an adjacent cell?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Conditional Formatting based on a due date

Say due date is in Column A, from A2 down.

Say you designate A1 to hold the number of days past due to trigger the
color change.

Say Column B is the column to format.

Select B2, then from the Menu Bar:
<Format <Conditional Format,
Change "Cell Value Is" to "Formula Is",
And enter this formula:

=AND($A$1+A2<=TODAY(),B2="",A2<"")

Then click on <Format, and choose a pattern to your liking,
then OK out.

You can then copy B2 down as needed.
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"Mark" wrote in message
...
How can I have a cell change color based on the fact that it is still empty
"X" number of days past another date in an adjacent cell?


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
Conditional Formatting based on Today's Date MCouture Excel Discussion (Misc queries) 3 May 20th 08 02:46 PM
Conditional Formatting Based on Date LiveUser Excel Worksheet Functions 6 April 1st 08 06:11 PM
Conditional formatting based on date range RGB Excel Discussion (Misc queries) 3 May 23rd 06 05:37 PM
Conditional formatting based on a date + 30 days Laura4363 Excel Discussion (Misc queries) 5 January 13th 06 11:07 AM
Conditional Formatting Based on Date John F.M. Excel Discussion (Misc queries) 1 June 2nd 05 08:14 PM


All times are GMT +1. The time now is 11:28 AM.

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

About Us

"It's about Microsoft Excel"