• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

want to sum based on filter values

KiKi

Member
I want to sum data of a filed based on what dates are chosen. e.g. if Dec, Jan is selected from filters then data corresponding to those months should be summed.

Is there any way to do that?

Thank You
 
If you use the SUBTOTAL function, you can have it ignore hidden rows.
So, if you wanted to sum a column, would be something like:
=SUBTOTAL(9,B:B)
 
Alternately, format your data as table and add Total Row.

this is a pivot table... data comes from database. How subtotal will work? when i wanted to have summed value in one field of same pivot table?

Thank You!
If you use the SUBTOTAL function, you can have it ignore hidden rows.
So, if you wanted to sum a column, would be something like:
=SUBTOTAL(9,B:B)


this is a pivot table... data comes from database. How subtotal will work? when i wanted to have summed value in one field of same pivot table?

Thank You!!
 
How is your Pivot organized?

If Grand Total, it will automatically adjust with filter.
upload_2015-8-14_11-40-50.png

It'll help if you can upload sample of what you are looking for.
 
Back
Top