• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

conditional format if date less than current month

theath

New Member
I am trying to create a conditional formatting formula that will highlight a cell when the month and year for the date listed in is less than or equal to the current month and year.


Cell A2 = Today()

Table column I4 to I16 = any entered date


I want to ignore the days and only focus on the month and year.
 
Theath


Firstly, Welcome to the Chandoo.org Forums


Give this a try:

=AND(MONTH(A2)<=MONTH(TODAY()),YEAR(A2)<=YEAR(TODAY()))
 
Back
Top