excel - Format cells if value matches any value in another sheet column -
so have sheet1 bunch of names in column d. want format of sheet 2 if name in sheet 2 matches names in sheet 1 d column formatting kicks in.
i have tried variety of variations of format text contains: ('sheet1', !$d:$d)
but cannot seem it.
thank in advance
you need use vlookup
https://support.office.com/en-ca/article/vlookup-function-0bbc8083-26fe-4963-8ab8-93a18ad188a1
to test if column x contains value y, use formula
=not(iserror(vlookup(y, x, 1, false)))
vlookup fetches values, returns error if value not found in target range.
iserror returns true if formula inside results in error value.
not reverses result of iserror, formula saying "does range x contain value y?"
Comments
Post a Comment