using today function

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

Using the Today function

resolvedResolved · Low Priority · Version 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.

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Hiding and unhiding columns using the keyboard

CTRL + 0 hides your columns and CTRL + SHIFT + ) unhides them although you would need to highlight the column letters either side as per normal

View all Excel hints and tips


Server loaded in 0.08 secs.