how do i ignore a number when using MODE function?

  • Thread starter Thread starter Dev4me
  • Start date Start date
D

Dev4me

Hi

I have a list of numbers that I want to find the MODE in:

0
0
1
2
0
0
3
3
2
2
2
0
0

But I want to be able to ignore the Zeros
How do i go about doing this so the mode function gives me the #2 only
Thank you
 
=MODE(IF(A1:A20<>0,A1:A20))

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

--

HTH

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

Entered as an array using the key combo of CTRL,SHIFT,ENTER:

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

Biff
 
Thanks guys it worked!

What does it mean by entering as Array formula with Ctrl shift Enter
 
Thanks guys it worked!

What does it mean by entering as Array formula with Ctrl shift Enter?
 
It means that when you enter the formula, don't just hit the Enter key, but
press Ctrl-Shift-Enter together.

--

HTH

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

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