PDA

View Full Version : Solved: Array Countif that will ignore Formula Blanks



JimS
11-01-2012, 12:59 PM
Is there away to get the following formula to ignore formulas that result with blank cells in the Range?

{=MAX(COUNTIF(Range,Range))}

The Range is made up of formulas that can result in blanks - I would like the above formula ({=MAX(COUNTIF(Range,Range))}) to ignore any cells that formula results with a blank.


Thanks for any help...

JimS

Bob Phillips
11-01-2012, 01:47 PM
Try

=MAX(COUNTIF(range,IF(range<>"",range)))

JimS
11-01-2012, 02:08 PM
Excellent - as always...

Thanks.

Now to figure out how to count the number of duplicates there are within a column when there are several "sets" of duplicates...

Bob Phillips
11-01-2012, 02:36 PM
Count the uniques and take that away from the total count.