dates for conditional formatting

A

AliMacca

Hi
I am trying to get a workbook that highlights the current month in red. I
thought I had done this but when i put the current month but for next year it
still highlights red. How do i just get the current year to change red?

Ali
 
D

David Biddulph

Change your conditional formatting criterion from =MONTH(...)=... to
=AND(MONTH(...)=...,YEAR(...)=...) or to =TEXT(...,"yyyymm")=...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top