Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to overlook zeros in a calculation?
I am calcing a median value for a range, and the range includes zeros. I've
tried an array formula: ={if(A1:A40,median(A1:A4),0)} and another version of the same: ={Median(if(A1:A40,A1:A4,0))} Both of these formulas include the 0 values in the median calculation. Does anyone know how I can remove them? Thanks! |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to overlook zeros in a calculation?
=MEDIAN(IF(A1:A40,A1:A4))
as an array formula -- Gary''s Student - gsnu200755 |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to overlook zeros in a calculation?
Hello Gary,
I've tried that exact Array formula and for some reason it still picks up the zeros. "Gary''s Student" wrote: =MEDIAN(IF(A1:A40,A1:A4)) as an array formula -- Gary''s Student - gsnu200755 |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to overlook zeros in a calculation?
Thanks Gary, I tried it again and it worked. :)
"Gary''s Student" wrote: =MEDIAN(IF(A1:A40,A1:A4)) as an array formula -- Gary''s Student - gsnu200755 |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to overlook zeros in a calculation?
Median ignores text so try:
={Median(if(A1:A40,A1:A4,""))} -- HTH Sandy In Perth, the ancient capital of Scotland and the crowning place of kings Replace @mailinator.com with @tiscali.co.uk "pa1971" wrote in message ... I am calcing a median value for a range, and the range includes zeros. I've tried an array formula: ={if(A1:A40,median(A1:A4),0)} and another version of the same: ={Median(if(A1:A40,A1:A4,0))} Both of these formulas include the 0 values in the median calculation. Does anyone know how I can remove them? Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Essbase: Text zeros to number zeros | Excel Discussion (Misc queries) | |||
Median calculation and ignore zeros | Excel Discussion (Misc queries) | |||
Charting zeros as non zeros | Charts and Charting in Excel | |||
How to sum a row of cells containing an error message to overlook | Excel Worksheet Functions | |||
save text field w/ leading zeros in .csv format & not lose zeros? | Excel Discussion (Misc queries) |