PC Review


Reply
Thread Tools Rate Thread

how do i ignore a number when using MODE function?

 
 
Dev4me
Guest
Posts: n/a
 
      4th Jan 2006

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


--
Dev4me
------------------------------------------------------------------------
Dev4me's Profile: http://www.excelforum.com/member.php...o&userid=29709
View this thread: http://www.excelforum.com/showthread...hreadid=498091

 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      4th Jan 2006
=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)


"Dev4me" <(E-Mail Removed)> wrote in
message news(E-Mail Removed)...
>
> 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
>
>
> --
> Dev4me
> ------------------------------------------------------------------------
> Dev4me's Profile:

http://www.excelforum.com/member.php...o&userid=29709
> View this thread: http://www.excelforum.com/showthread...hreadid=498091
>



 
Reply With Quote
 
Biff
Guest
Posts: n/a
 
      4th Jan 2006
Hi!

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

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

Biff

"Dev4me" <(E-Mail Removed)> wrote in
message news(E-Mail Removed)...
>
> 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
>
>
> --
> Dev4me
> ------------------------------------------------------------------------
> Dev4me's Profile:
> http://www.excelforum.com/member.php...o&userid=29709
> View this thread: http://www.excelforum.com/showthread...hreadid=498091
>



 
Reply With Quote
 
Dev4me
Guest
Posts: n/a
 
      5th Jan 2006

Thanks guys it worked!

What does it mean by entering as Array formula with Ctrl shift Enter

--
Dev4m
-----------------------------------------------------------------------
Dev4me's Profile: http://www.excelforum.com/member.php...fo&userid=2970
View this thread: http://www.excelforum.com/showthread.php?threadid=49809

 
Reply With Quote
 
Dev4me
Guest
Posts: n/a
 
      5th Jan 2006

Thanks guys it worked!

What does it mean by entering as Array formula with Ctrl shift Enter?


--
Dev4me
------------------------------------------------------------------------
Dev4me's Profile: http://www.excelforum.com/member.php...o&userid=29709
View this thread: http://www.excelforum.com/showthread...hreadid=498091

 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      5th Jan 2006
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)


"Dev4me" <(E-Mail Removed)> wrote in
message news(E-Mail Removed)...
>
> Thanks guys it worked!
>
> What does it mean by entering as Array formula with Ctrl shift Enter?
>
>
> --
> Dev4me
> ------------------------------------------------------------------------
> Dev4me's Profile:

http://www.excelforum.com/member.php...o&userid=29709
> View this thread: http://www.excelforum.com/showthread...hreadid=498091
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Ignore the letter and look at the number Ken Snell [MVP] Microsoft Access Queries 0 26th May 2009 09:10 PM
ignore first number =?Utf-8?B?RW1hbnVlbCBWaW9sYW50ZQ==?= Microsoft Access 3 12th Jul 2007 04:58 PM
Can I ignore linebreaks in Regex Singleline mode? =?Utf-8?B?TXJOb2JvZHk=?= Microsoft C# .NET 1 1st Jan 2007 07:03 PM
Re: Ignore 0 value in MIN function Frank Kabel Microsoft Excel Misc 2 16th Apr 2004 03:54 PM
Re: Ignore 0 value in MIN function kkknie Microsoft Excel Misc 0 16th Apr 2004 02:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:08 PM.