Forum Discussion

FatManFluff's avatar
FatManFluff
Brass Contributor
Apr 19, 2025
Solved

Conditional Formatting Partial

Good morning, In need of a little bit of help. My current situation is I can't figure out a formula to highlight partial matches. In my current excel I gather information from a scan then I filter i...
  • HansVogelaar's avatar
    Apr 19, 2025

    Using your example:

    Select A2:A29 (or however far down you want).
    A2 should be the active cell in the selection.
    Create a conditional formatting rule with formula

    =AND(A2<>"", OR(LEFT(A2, 3)=$D$2:$D$1000))

    Select D2:D29 (or however far down you want).
    D2 should be the active cell in the selection.
    Create a conditional formatting rule with formula

    =AND($D2<>"", COUNTIF($A$2:$A$1000, $D2&"*"))

Resources