Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Most Common Number NOT Zero

Status
Not open for further replies.

BradB

MIS
Jun 21, 2001
237
US
I'm looking for a way to list the most common number in a given list. Normally, I would use the MODE function. Well, Zero as it turns out IS the most common among a series of numbers. I need Zero to be in the data series, but I want the most common Not including zero. Is there an easy way to do this?

Example
0
1
2
2
0
0

I want the mode (most common) to be 2 not 0.

Thanks,
Bradb
 
I think I figured it. I created a RunningTotal With the Summary as Mode, and Evaluate: Formula<>0, Reset on Date.

Why do they call it a running total when you can do Soooo many things with it?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top