I've used a LAMBDA-MATCH joint function in Google Sheets to populate a data table. I'm looking to format each row of the table based on the value of a column, "Start date", whereby rows with "Start date" equal to today's date get highlighted one color and all other rows are highlighted another color.
I've set this up in this spreadsheet using conditional formatting rules, where I've used the following rules as my formatting condition:
$C16=INDEX(LAMBDA(d, p, t, s, a, QUERY({Sheet1!Sample_Data}, "select Col"&d&", Col"&t&", Col"&s&", Col"&a&" where Col"&p&"='"&$B$13&"' order by Col"&t&" desc", 1)) (MATCH("start date", INDEX(Sheet1!Sample_Data, 1), 0), MATCH("principal", INDEX(Sheet1!Sample_Data, 1), 0), MATCH("teacher", INDEX(Sheet1!Sample_Data, 1), 0), MATCH("student", INDEX(Sheet1!Sample_Data, 1), 0), MATCH("advisor", INDEX(Sheet1!Sample_Data, 1), 0)),2,1)=TEXT(today(),"YYYY-MM-DD")The other rule is identical but the last line reads <>TEXT(today(),"YYYY-MM-DD").
This image includes the applicable range and format of the first rule (the other rule's settings are identical except for formatting style):
The format rules should display each row in range C16:K20 one one color or another according to the formatting style applied. The rules don't appear to change any cells. Any suggestion to get the conditional formatting rules working is appreciated.
The rules are set in cell C16, found under the "Start date" column in this worksheet.
