Taking the mode based on Cell value

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to take the Mode of a column, which I now how to do, but if the
Mode=0 I want to only take the mode of the non zero values. Is there a way
to do this...I have this so far and it takes the mode fine :

=IF(MODE(A1:A100)<>0,MODE(A1:A200))

Any Help would be great.
 
Try...

=MODE(IF(A1:A100<>0,A1:A100))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!
 
Yes, try


=MODE(IF(A1:A100<>0,A1:A100))

enter the formula with ctrl + shift & enter
 
=MODE(IF(A1:A100<>0,A1:A100))

which is an array formula, so commit with Ctrl-Shift-Enter

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Thanks, that did it great.

Scott

Domenic said:
Try...

=MODE(IF(A1:A100<>0,A1:A100))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!
 

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

Back
Top