Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am using the Subtotal with autofilter to average the visible cells but I
need to exclude zero values. please help. thank you in advance, jane |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
In the Auto Filter drop down, exclude the 0 value by using "Custom". This will show all cells based on the original filter applied by you and all the cells which are not equal to 0. -- Regards, Ashsih Mathur Microsoft Excel MVP www.ashishmathur.com "jane" wrote in message ... I am using the Subtotal with autofilter to average the visible cells but I need to exclude zero values. please help. thank you in advance, jane |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Assume the full unfiltered range is A5:B20 and you want to average B5:B20
excluding 0s: =SUMPRODUCT(SUBTOTAL(9,OFFSET(B5:B20,ROW(B5:B20)-ROW(B5),0,1)),--(B5:B20<0))/SUMPRODUCT(SUBTOTAL(2,OFFSET(B5:B20,ROW(B5:B20)-ROW(B5),0,1)),--(B5:B20<0)) -- Biff Microsoft Excel MVP "jane" wrote in message ... I am using the Subtotal with autofilter to average the visible cells but I need to exclude zero values. please help. thank you in advance, jane |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
2007 Autofilter worse than 2003 Autofilter | Excel Discussion (Misc queries) | |||
Find monthly average but have average automatically configured | Excel Discussion (Misc queries) | |||
Can autofilter sum and average columns of numbers? Thank you | Excel Worksheet Functions | |||
How to Sort within AutoFilter with Protection on (and AutoFilter . | Excel Discussion (Misc queries) | |||
Error Handling #N/A with AVERAGE Function - Average of values in Row | Excel Worksheet Functions |