Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

conditional formatting

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Conditional formatting

Conditional formatting

ResolvedVersion 365
Edited on Thu 20 Feb 2025, 16:17

Michelle has attended:
Excel Intermediate course

Conditional formatting

thanks Atlas, this hasn't worked for what i require, sorry i wasn't clear enough. I have a column of expiry dates these are all different dates. i want the cell to turn amber once the expiry date -60 days is reached and then change to red once the expiry date itself is reached and stay red unless date is manually changed.

RE: conditional formatting

This can be done using 2 separate conditional formatting rules.

First, select the entire column that contains your dates. Then go to 'Conditional Formatting' > 'Highlight Cell Rules' > 'Between'.

Select the colour to be amber, and enter a rule of between '=Today()-120' and '=Today()-179'.

Then add another between rule. Colour it red, and this time enter the rule as between '=Today()-180' and '=today()-300'

Thu 27 Feb 2025: Automatically marked as resolved.

Excel tip:

Use the SUBTOTAL function in Excel

You can create subtotals in your spreadsheet using the SUBTOTAL function, which looks like this:

=SUBTOTAL(9,cell:cell)

9 represents the function being used (SUM), followed by the range of cells the function is operating on.

The neat thing about using the Subtotal function is that if you have used it several times in the same column or row, clicking on the AutoSum button at the end of the column or row will make Excel add only the results of cells containing the Subtotal function in that column or row.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.