Forum Discussion

ChrisC365's avatar
ChrisC365
Brass Contributor
Mar 24, 2020
Solved

Conditional Formating, a single reference point

Hi   Is there a way to reference a list in conditional formatting, for example, I want have a list of key words or abbreviations like ERT, BBC, Motor-OIL.  The list will expand as time goes on.  So...
  • JKPieterse's avatar
    JKPieterse
    Mar 25, 2020
    MATCH tries to find an item in a list. If successful, it returns the position within that list where the item was found. If not successful, it returns an error: #N/A.

    ISERROR simply returns TRUE if a formula returns an error.

    NOT reverses a boolean value so TRUE becomes FALSE and vice versa.

    So NOT(ISERROR(MATCH(..))) returns TRUE if a match was found, which then tells Excel to color the cell.