how do I get 8 Conditional Formats for 1 Cell

C

Craig

I need a particular Cell to Highlight if it is the same (or equal to ) 8
different cells in the 1 row
 
D

Duke Carey

one way - assuming you mean if the cell's value matches ANY of the other 8
cells

use Formula is

=sumproduct(--(A1:H1=M1))>=1

and set your format
 
B

Bob Phillips

Just test each cell for the same value,

either

=AND(A1=L1,A1=M1,A1=Q1) obviously add extra tests

or if the cells are contiguous use

=COUNTIF(M1:T1,A1)=8

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Top