Home > Back-end >  Google Sheets conditional formatting with formula
Google Sheets conditional formatting with formula

Time:06-16

Here is the link to my google sheet: https://docs.google.com/spreadsheets/d/1toBfSTFwIzlUOVZrWWjmhIOZizXuiJ091dYN70kZHcA/edit?usp=sharing

I am trying to create conditional formatting based on a range of dates which does not seem to be working.

This is my formula:

=isnumber(vlookup(C12,$K$60:$K$71,1,0))

I used =isnumber because of the date issue. The problem is that only the first cell of the cells selected to be conditionally formatted is changing color which I know is incorrect because the first cell does not even have a date number.

What am I doing wrong?

Google Sheets conditional formatting with formula

CodePudding user response:

try like this:

=VLOOKUP(C11, FILTER($K$60:$K$71, $K$60:$K$71<>""), 1, )*(ISNUMBER(C11))

or even:

=VLOOKUP(C11, $K$60:$K$71, 1, )*(ISNUMBER(C11))
  • Related