Conditional Format Column based on Date

pdvsa

Board Regular
Joined
Apr 22, 2010
Messages
61
Office Version
  1. 365
Platform
  1. Windows
Hello,

I need to color a column based on a date in a cell.
The tricky part is that the condition format condition is only dependent on the month.

Let me give an example:
Criteria:
4/18/2016

the data table looks like this:
2/1/2016 3/1/2016 4/1/2016

You can see the 4/18/2016 is not an exact match for any of the dates in the table.
I need the column 4/1/2016 to be colored.
So basically, if the month and year are a match then color it and dont pay attention to the day

I dont see how I can attach a file or else I would.
I do have a file posted here though: https://onedrive.live.com/redir?res...889&authkey=!AEE4aagNu4Ee0ok&ithint=file,xlsx
You might have to save a copy though. See the ellipses on the far right (three dots) to download it.
I have conditional formatting already on the sheet & it works only if there is an exact date match.

thank you
 
Hi JoeMo,
Do you know how to CF the column though?

Thank you
 
Upvote 0

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,216,101
Messages
6,128,843
Members
449,471
Latest member
lachbee

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top