baffledmacro
New Member
- Joined
- Aug 15, 2008
- Messages
- 19
Hi,
I did search about this, but couldn't find an answer; advance apologies if i've missed anything obvious.
Have a data set with multiple variables.
have a chart using the last column of variables (AR) and the results column (AS).
am using averageif to get the average of results for each variables.
e.g.
=AVERAGEIF(AR2:AR1000, "1", AS2:AS1000)
This works fine and I am happy with the results.
however, I would like to use filters on other variables (column A through to AQ), and for the average not to count the filtered data.
So far I can only see possibly using subtotal (not sure how), or writing a macro (no clue how).
Any advice hugely appreciated.
(Using Excel 2007)
I did search about this, but couldn't find an answer; advance apologies if i've missed anything obvious.
Have a data set with multiple variables.
have a chart using the last column of variables (AR) and the results column (AS).
am using averageif to get the average of results for each variables.
e.g.
=AVERAGEIF(AR2:AR1000, "1", AS2:AS1000)
This works fine and I am happy with the results.
however, I would like to use filters on other variables (column A through to AQ), and for the average not to count the filtered data.
So far I can only see possibly using subtotal (not sure how), or writing a macro (no clue how).
Any advice hugely appreciated.
(Using Excel 2007)