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

formatting cells

ResolvedVersion 365

Kim has attended:
Excel Advanced course

Formatting cells

How to I format a date cell (A) to change colour depending on dates entered in a different cell (B) in a different tab.

When I launch my spreadsheet I want the relevant date (A) cell to be highlighted depending how close they are to date (B)

RE: Formatting cells

Hi Kim,

Thank you for the forum question.

Select the cell with the date you want to format.

Lets us assume that the date you want to highlight is in A1 and the second date is is in A1 on a worksheet named Sheet2.

Click Conditional Formatting -> New Rule -> Use a Formula to determine which cells to Format.

In the box "Format values where this formula is true:" type

=$A$1-Sheet2!$A$1>10

Click Format and select how you want it formatted.

The date will now be highlighted if there is more than 10 days between the two dates.


Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Wed 12 Jun 2019: Automatically marked as resolved.

Excel tip:

Apply Autosum with keyboard shortcut

If you press Alt and = at the same time, it applies autosum.

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.09 secs.