Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel 2003 - Using the average sum after filtering

Status
Not open for further replies.

Gagsy

Technical User
Oct 16, 2002
56
GB
When I filter records and then use the average formula I get all the records rather than only those filtered.

I can get round this by indivisually selecting the cells in the column which have been filtered but is there an automatic method.

If I filer out 100 records I dont want to select each individual cell.

Appreciate any assistance

Thanks
Gagsy
 
Thanks for your reply.

Copuld you give me more info please as Im not sure what you mean.

Thanks
Gagsy
 
Hi Gagsy,

Have you tried the Subtotal Function?

The following two functions return the same result without filtering.

=SUBTOTAL(1,A2:A10)
=AVERAGE(A2:A10)

However, the Subtotal ignores rows which are filtered out, whilst the Average does not.

Enjoy,
Tony

--------------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.
 
That works a treat - Thank you v.much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top