FRESHShaZaM
New Member
- Joined
- Dec 30, 2019
- Messages
- 7
- Office Version
- 365
- Platform
- Windows
- MacOS
- Mobile
Select B2 to last row of data & use this formula
=COUNTIFS(A:A,A2,B:B,B2)>1
Book1 | ||||
---|---|---|---|---|
A | B | |||
1 | ||||
2 | 1296 | tyre | ||
3 | 1296 | tyre | ||
4 | 1296 | wheel | ||
5 | 1297 | wheel | ||
6 | 1297 | tyre | ||
7 | 1297 | wheel | ||
8 | 1298 | truck | ||
9 | 1299 | truck | ||
10 | 1299 | truck | ||
11 | 1300 | truck | ||
Report |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
B2:B11 | Expression | =COUNTIFS(A:A,A2,B:B,B2)>1 | text | NO |
How can it highlight random numbers if col B is text?
Book1
A B 1 2 1296 tyre 3 1296 tyre 4 1296 wheel 5 1297 wheel 6 1297 tyre 7 1297 wheel 8 1298 truck 9 1299 truck 10 1299 truck 11 1300 truck Report
Cells with Conditional Formatting Cell Condition Cell Format Stop If True B2:B11 Expression =COUNTIFS(A:A,A2,B:B,B2)>1 text NO