count rows that match conditional formatting

C

Carole

I have a conditional format formula that looks for
duplicates.
=SUMPRODUCT(--($B$2:$B$961=$B2),--($D$2:$D$961=$D2),--
($E$2:$E$961=$E2))>1
When a duplicate is found, it changes the cell shading to
another color.

In another cell on the same spreadsheet, I want to get a
total count of the rows that have the shading changed.

What formula would I use to get the count?
 
F

Frank Kabel

Hi
if you don't need a one-cell formula put this formula in a separate
column, copy it for all rows and sum this column
=--(SUMPRODUCT(--($B$2:$B$961=$B2),--($D$2:$D$961=$D2),--($E$2:$E$961=$
E2))>1)

Afterwards you may hide this column
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top