EXCEL highlight all the rows with same value in specific cell [duplicate]

I work on table like this:

idsellerstatereason
1bla1approvednot supported
1bla2rejectedrejected by seller
2bla3rejectedrejected by seller
2bla3failederror
3bla1failedfailed to get
3bla2pendingfailed to get
4bla4rejectednot supported

I want to highlight the rows based on the id column - rows with id = 1 will be highlighted with one color, rows with id = 2 will be highlighted with second color, etc.
I didn't find an option to this with conditional formatting.
Will appreciate any help.

2

1 Answer

Check the following .gif

I take rows with id = 2 as an example, they will be highlighted with red. Used the formula:

=$A1=2

Other ids are similar.enter image description here

3

You Might Also Like