Data analysis across multiple worksheets but omitting zero values

seleseped

Board Regular
Joined
Feb 1, 2005
Messages
59
Hello,
I have 23 worksheets (named 1, 2, . . . , 23) all based in the same template. In a summary worksheet, I'd like to do some summary analyses, e.g., medians of data from all of the 23 worksheets. To find the median of the values in column D of all of the sheets, I have found this array formula to work:
{=MEDIAN('1:23'!D3:D50)}.

I now would like to calculate the median of that same number set but with zero values omitted. I tried:
{=MEDIAN(if('1:23'!D3:D50<>0,'1:23'!D3:D50)} but got a non-helpful #REF! message.

Does anybody have any ideas that would help?

Thank you in advance for your time and expertise.
Shelley
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Seems to work with 3d reference without the IF condition, or with one Sheet with arrayed IF condition
but not with 3d reference and arrayed IF condition
 
Upvote 0

Forum statistics

Threads
1,215,339
Messages
6,124,370
Members
449,155
Latest member
ravioli44

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top