Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default Ommitting 0 from a mode calculation.

Hi,
Is it possible to make a mode calculation but if one, or many, of the values
is equal to 0 then it is not included in the calculation. So that if you have
values of 15 "3"'s and 5 "0"'s then the mode will be 3. But if you had 15
"0"'s and 5 "3"'s the mode will still be 3.

Hope that makes sence.

Thanks,

Steve
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default Ommitting 0 from a mode calculation.

Hi Steve

One way using an array formula
{=MODE(IF(A1:A300,A1:A30))}

Use Ctrl+Shift+Enter (CSE) to commit on Edit the formula rather than
just Enter.
Do not type the curly braces { } yourself, Excel will enter them
when you use CSE

Change range to suit
--
Regards

Roger Govier


"Steve" wrote in message
...
Hi,
Is it possible to make a mode calculation but if one, or many, of the
values
is equal to 0 then it is not included in the calculation. So that if
you have
values of 15 "3"'s and 5 "0"'s then the mode will be 3. But if you had
15
"0"'s and 5 "3"'s the mode will still be 3.

Hope that makes sence.

Thanks,

Steve



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Set Calculation mode for a single worksheet Paulo A Excel Worksheet Functions 4 September 7th 06 03:10 PM
Open CSV causes calculation in manual calc mode [email protected] Excel Discussion (Misc queries) 0 July 25th 06 09:22 PM
type mismatch on saving excel calculation mode via VB app Ken Shaffer Excel Discussion (Misc queries) 3 November 2nd 05 01:51 PM
My Calculation Mode Changed to Manual Somehow?!? Jeb Excel Discussion (Misc queries) 2 August 4th 05 03:40 PM
Book1 changes itself? Brian Excel Discussion (Misc queries) 9 May 2nd 05 05:46 PM


All times are GMT +1. The time now is 05:02 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"