Conditionally format one cell based on another cell being blank in Excel

exceluser123abc

New Member
Joined
Jan 9, 2018
Messages
2
I have two columns of cells, one with the Due Date and one with the Received Date of certain parts.
If the Received Date column is blank, I want to compare the Due Date to today's date and conditionally format the cell if the part is overdue (red) or if it is due within two weeks (yellow).
If the Received Date column is full, I want to skip over that cell.
How do I conditionally format in Excel to look like the example in the below link?
Example

Thank you in advance!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Re: How do you conditionally format one cell based on another cell being blank in Excel?

For overdue

Select the cells you want to conditionally format.
In conditional formatting use the formula and select your formatting
Code:
=AND(A4<$B$1,B4="")
make this the first rule and check stop if true in the CF rules manager


same for yellow but use this formula and make it last in the rules manager
Code:
=AND(A4<$B$1+14,B4="")
 
Upvote 0

Forum statistics

Threads
1,223,247
Messages
6,171,004
Members
452,374
Latest member
keccles

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