Priya has attended:
Excel Intermediate course
Conditional Formatting
How do I make cells turn a certain colour when an expiry date has been reached eg all cells to turn red on 1 July
RE: Conditional Formatting
Hi Priva,
Thank you for your post, welcome to the forum, in reply to your question:
First highlight the range of cells that you want to apply the formatting to. For example, select all of column A since we don't know how many rows will have expiration date values.
Next, under the Format menu, select Conditional Formatting.
When the Conditional Formatting window appears, select "Formula Is" in the drop down. Then enter the following formula:
=ISBLANK(A1)=TRUE
What this formula means is that if any cells in column A are blank, do not apply any formatting. The value of A1 is put in the IsBlank function since this is the first value in the range of cells that you've selected. Since the formula uses relative referencing each value in column A will be evaluated individually.
Next, click on the Add button to create a second condition.
In Condition 2, select "Cell Value Is" in the first drop down and "less than"/