Filters & Sum

  • Thread starter Thread starter PCOR
  • Start date Start date
P

PCOR

Hi All
I have a spreadsheet that contains 10 cols and about 20 rows

I have set the filter for Col b to show only entries that show "orange"
Col d contains a dollar value.
How do I get a SUM of col D after the filter has been set to "ORANGE:
All works ok when the filter is not set and my total for col D is correct
Appreciate any help
Ian
 
=subtotal(9,D2:D21)

subtotal respects the filter - only operates on the non-hidden rows. the
first argument says what function to perform. 9 is sum, 2 is count as
examples.
 
So easy...when you know how.
Many thanks
Ian
Tom Ogilvy said:
=subtotal(9,D2:D21)

subtotal respects the filter - only operates on the non-hidden rows. the
first argument says what function to perform. 9 is sum, 2 is count as
examples.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top