Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You can use different numbers for the first parameter of the SUBTOTAL
function - you probably have: =SUBTOTAL(9,G8:G150) where the 9 indicates to do a SUM. If you change the 9 to 2 it will give you a COUNT, so you could have: =SUBTOTAL(9,G8:G150)/SUBTOTAL(2,G8:G150) Alternatively, you could change it to a 1 which will give you an average: =SUBTOTAL(1,G8:G150) Hope this helps. Pete On Apr 12, 3:41 pm, "Gustavo Strabeli" wrote: Good Day to all! I need your help in order to know what function to use to solve my problem. I have following issue: - My data starts on A7, finishing on G150, with Autofilter on row 7 - I have a little "summary" on A1:B5 where I'm using the SUBTOTAL function to have the correct figures when I use the Autofilter on row 7. Among some other informations in the summary (B4), I need the average weight (weighted average) of the commodities in my list, but it needs to work with the Autofilter. I mean, If I select one location with the Autofilter, I need to have the weighted average for that location only. Or, If I select "Citrus Fuits" with the Autofilter, I need to have the weighted average for those commodities. Any chance to do that? Thanks, Gustavo. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using AutoFilter + sumproduct formula | Excel Discussion (Misc queries) | |||
Autofilter | Excel Discussion (Misc queries) | |||
SUMPRODUCT and (perhaps) SUBTOTAL with AUTOFILTER | Excel Worksheet Functions | |||
How to Sort within AutoFilter with Protection on (and AutoFilter . | Excel Discussion (Misc queries) | |||
AutoFilter | Excel Discussion (Misc queries) |