Share via

Excel - Conditional Formatting using only 1st Value in Range

Anonymous
2024-12-02T16:36:00+00:00

I am trying to apply color coding rules to an entire column E (E:E) using conditional rules referencing a range on a different tab, but it only color codes using the first value in the range.

So basically I want the file to say if any of the values in the column matches the 100's of values in this range color code it red and if any values this range color code orange, etc etc,

Currently using the format : format only sells with Specific Text containing = Range Name

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. HansV 462.6K Reputation points
    2024-12-02T17:04:45+00:00

    Select column E.

    E1 should be the active cell in the selection.

    On the Home tab of the ribbon, click Conditional Formatting > New Rule...
    Select 'Use a formula to determine which cells to format'.
    Enter the formula

    =ISNUMBER(XMATCH(E1, range_name))

    Click Format...
    Activate the Fill tab.
    Select red as fill color.
    Click OK, then click OK again.

    Excel will automatically adjust E1 to E2 when it applies the rule to E2, etc.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-12-02T16:58:50+00:00

    How to apply to all cells E:E?

    Was this answer helpful?

    0 comments No comments
  3. HansV 462.6K Reputation points
    2024-12-02T16:49:21+00:00

    Create a rule of the type 'Use a formula to determine which cells to format' with formula

    =ISNUMBER(XMATCH(E1, range_name))

    (assuming that E1 is the active cell in the selection when you create the rule)

    Was this answer helpful?

    0 comments No comments