Conditional Format based on values in table

Viewed 29
1 Answers

Step 01

1 - Click Format and then Conditional Formatting.
2 - Under the "Format cells if" drop-down menu, click Custom formula is.
3 - Add new rule and then Custom formula is. Click Value or formula and add the formula and rules. for each formula in the following table in step 02

enter image description here

Step 02

Paste this formula for each rule

Rules Formula
Red =IFNA(VLOOKUP(REGEXEXTRACT(B2,"(.+) "),$K$2:$L,2,0),"")=1
white =IFNA(VLOOKUP(REGEXEXTRACT(B2,"(.+) "),$K$2:$L,2,0),"")=2
red =IFNA(VLOOKUP(REGEXEXTRACT(B2,"(.+) "),$K$2:$L,2,0),"")=3

Notes

The lookup table needs to be on the same sheet.

Related