Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
doco
 
Posts: n/a
Default {SUBTOTAL(2, IF(This = That, LIST))}

Given the following Column headers

Date Month ListPrice SalePrice Ratio



I can use the following [ COUNT(IF(...)); AVERAGE(IF(...)); MEDIAN(IF(...)),
etc A array functions to gain the following


TERM COUNT MEAN
MEDIAN
1 {COUNT(IF(TERM=Month,Ratio))} etc etc
2 ...
3 ...
4 ...
5
6
7
8
9
10
11
12


What I would like to know if there is a way to use
SUBTOTAL(Integer,IF(...)). I have other column headers in the original list
that are usefull to use DATA | FILTER | AUTOFILTER and would like the lower
array to update automatically after using autofilter drill downs.

TIA


  #2   Report Post  
Domenic
 
Posts: n/a
Default

Try the following formulas that need to be confirmed with
CONTROL+SHIFT+ENTER...

=AVERAGE(IF((SUBTOTAL(3,OFFSET(MonthRange,ROW(Mont hRange)-MIN(ROW(MonthRa
nge)),0,1)))*(MonthRange=MonthCriterion),AverageRa nge))

AND

=MEDIAN(IF((SUBTOTAL(3,OFFSET(MonthRange,ROW(Month Range)-MIN(ROW(MonthRan
ge)),0,1)))*(MonthRange=MonthCriterion),MedianRang e))

What would you like to count?

In article ,
"doco" wrote:

Given the following Column headers

Date Month ListPrice SalePrice Ratio



I can use the following [ COUNT(IF(...)); AVERAGE(IF(...)); MEDIAN(IF(...)),
etc A array functions to gain the following


TERM COUNT MEAN
MEDIAN
1 {COUNT(IF(TERM=Month,Ratio))} etc etc
2 ...
3 ...
4 ...
5
6
7
8
9
10
11
12


What I would like to know if there is a way to use
SUBTOTAL(Integer,IF(...)). I have other column headers in the original list
that are usefull to use DATA | FILTER | AUTOFILTER and would like the lower
array to update automatically after using autofilter drill downs.

TIA

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
loop trough e-mail address list to send task lists with outlook Paul. Excel Discussion (Misc queries) 2 April 14th 05 11:48 AM
LOOP - Adddress List -to email Paul. Excel Discussion (Misc queries) 0 April 13th 05 09:54 AM
Refresh a Validation List? jhollin1138 Excel Discussion (Misc queries) 3 February 17th 05 05:48 PM
Extracting Values on one list and not another B Schwarz Excel Discussion (Misc queries) 4 January 7th 05 01:48 PM
Creating a list from an existing list. Jad Excel Worksheet Functions 1 October 29th 04 06:00 AM


All times are GMT +1. The time now is 05:53 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"