Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 105
  • Last Modified:

How to set a coditional date format in Excel ?

Dears,

I want to set a conditional date format to show Expiry date (older than today) in Red; future date in black.

Thanx
16.09.01.xlsx
0
a500505077
Asked:
a500505077
1 Solution
 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Hello,

since all your dates are already red, you need a conditional format to turn the ones in the future to black. To do that

- select all the data in column A, from row 1 to the last row (558)
- on the Home ribbon click "Conditional Formatting > New Rule"
- Select "Use a formula to determine..."
- enter this formula:

=A1>TODAY()

- click the "Format" button and set a black font color.
- click OK in all dialogs.

cheers, teylyn
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now