Condition format based on date

amlagu

New Member
Joined
Sep 11, 2014
Messages
15
Hi.

I was wanting to highlight a cell if the current date is equal to or past the date in another cell if yet another cell is blank. That is, if K6 is 5/10/14, then if there is no value in L6 on 5/10/14 or later then I want to change colour of the cell I6 and (perhaps) write overdue in L6.

Secondly, can I highlight a cell based on a specific date. Ie when the date occurs and there is no value in a cell 7 days prior I want to highlight another cell a colour. ie if there is no value in N6 and the money is due on 1st April 2015, then I want M6 to change to a colour on 28th March 2015. Then on the 1st of April 2015 (and beyond) if there is still no value in N6, I want M6 to change yet another different colour.

Possible? Thanks.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Select I6

Conditional Formatting
New Rule
Use a formula to determine...

=AND((K6 > = DATEVALUE("05/10/2014"),L6=""))

format as required
Use Format painter (paintbrush icon) to copy to other cells

Change the formula in L6 to
=IF(AND(K6 > = DATEVALUE("05/10/2014"),"OVERDUE","")
 
Upvote 0
Thank you very much.

Unfortunately in the second formula it says I'm missing a parenthesis.. any ideas
 
Upvote 0

Forum statistics

Threads
1,214,830
Messages
6,121,834
Members
449,051
Latest member
excelquestion515

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top