Forum Discussion
twwareza
Jan 18, 2021Copper Contributor
Formula for conditional format with Months
I have a worksheet like this. The months is a date, but it shows only the month. I used Edate to add one month. I am not able to work out how to create the formula to enable the conditional for...
- Jan 18, 2021
jukapil
Jan 18, 2021MCT
twwareza
Jan 18, 2021Copper Contributor
Hi big thanks. jukapil
I noticed you used endtext ...but the row of months are actually a date, and I just displayed the Month. Would this matter or not?
I will have a bash at this in the morning. Heading out now.
Thanks
- twwarezaJan 18, 2021Copper Contributor
jukapil great. This kind of got it to work but now a few issues.
As my months spans over 3 years it repeats the pattern across all years.
Also - odd that when no start/end dates are given - it still formats the cell.
This is the structure:
=OR(TEXT($C6,"MMM")=TEXT(H$4,"MMM"),TEXT($E6,"MMM")=TEXT(H$4,"MMM"))
I guess its not the full solution to the problem.
Thanks for the guidance.
a. This picture shows the months repeated across all yearsb. This one shows the cell formatted even if start-end date is empty