Count Common Denominator, but excluding "#value!"

J

Jman

i want to count the (common denominator in a cell range a.k.a (which number
appears the most")


in F6 to F200 contain formulas as described below giving me a value from
another cell. ex" #4"
ex: (=e6) which gives me "4" from "E6"
(=e7 ) which gives me "5" from "E7"
(=e8) wich gives me "5" from "e8"
to row 200

Some cells "give me "#value!"

In G1 i tried this formula but it does not work since it cant count the
cells with "values"

=mode(F6:F200)

How can i use the same formula but also to ignore "value" errors and to
finally give me the comon denominator. Which from the above examle number 5
appears the most.
 
M

Mike H

Hi,

Try this
=MODE(IF(ISERROR(F6:F200),FALSE,F6:F200))

It's an array so enter with Ctrl+Shift+enter
Excel will put curly brackets around the formula.

Mike
 
T

T. Valko

Just a heads-up on that formula...

It will evaluate empty cells as numeric 0 and could return 0 as the mode.

Probably better to use (array entered):

=MODE(IF(ISNUMBER(F6:F200),F6:F200))
 

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