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

excel formatting

ResolvedVersion 365

Alka has attended:
Excel Advanced course
Excel Power Query course

Excel formatting

What is the best format option to use - I'm trying to create 'CHASE' in red for anything >= 30 days from a date entered in a previous cell.

RE: Excel formatting

Hello Alka,

Thank you for your question.

The best way to achieve this is by using Conditional Formatting. You can create a rule as follows:

Assuming the original date is in cell A1 and the reference date is in cell B1:

Select cell B1, then go to Conditional Formatting > New Rule > Use a formula to determine which cells to format

In the field below the heading 'Format values where this formula is true', type the following formula (adjusted to your data):

=$B1>=$A1+30 *(or +29 if you want to include the 30th day after)

Make sure there are no $ signs before the row numbers, otherwise you can't apply the rule to other rows.

Click the Format button to set your desired formatting, then click OK.

Afterwards, you can copy the rule to other cells by using the Format Painter or filling down using the 'formatting only' option.

I hope this helps.

Kind regards
Marius Barnard
STL



Thu 25 Apr 2024: Automatically marked as resolved.

Excel tip:

Generate randon numbers

Some types of analysis require you to use randomly generated numbers. You can also use randomly generated numbers to quickly populate an Excel spreadsheet. There's an easy function you can use to do this automatically. Here are a few of the ways you can use it:

Type =RAND() in a cell to generate a number between 0 and 1.
Type =RAND()*100 to generate a number between 1 and 100.

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.