formatting cells

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Formatting cells

Formatting cells

resolvedResolved · High Priority · Version 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:

Selecting constant values only

If periodically you need to change all your values back to zero, but leave formulas, text and blank cells as they are select the entire worksheet, choose F5 function key, Special and then Constants and choose the appropriate sub-selections. To enter zero in all the selected cells type 0 and then press Ctrl+Enter.

View all Excel hints and tips


Server loaded in 0.05 secs.