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

using today function

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Using the Today function

Using the Today function

ResolvedVersion 2010

Charlotte has attended:
Excel Advanced course

Using the Today function

I want to apply conditional formatting to dates that are either today, or tomorrow (so today +1) only. Can I do this in one formula? currently I'm using 2 (=cell>today() and =cell>today()+1)

RE: Using the Today function

Hi Charlotte

Thanks for getting in touch. Yes this is possible by using the OR function. The OR function looks like this:

=OR(criteria1, criteria2)

When either of the criteria are met, it returns TRUE and switches the conditional formatting on. Your formula will look like this:

=OR(A1=TODAY(),A1=TODAY()+1)

You enter this by selecting your range, going to Conditional Formatting on the Home tab, select New Rule > Use a formula to determine which cells to format. Enter the formula then use the format button to select your formatting style.

Kind regards

Gary Fenn
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best 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

Tue 4 Feb 2014: Automatically marked as resolved.

Excel tip:

Hide columns in an Excel 2010 Worksheet

If you don’t want part of the Excel worksheet to be visible or when you don’t want certain data to appear in print outs, then a simple solution is to temporarily hide a column or multiple columns.

Hiding a single column:

1)Right click on the column header of the column you want to hide (this is the grey bar along the top edge of the worksheet)
2)Choose Hide from the menu
3)This column will now be hidden from view

Hide more than one column:

1)In the column header drag select to highlight the columns you want hidden
2)Right click and choose Hide from the menu

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.