PDA

View Full Version : Formula To Show The Sum Of Filtered List Using SubTotal



Flupsie
05-17-2014, 12:02 PM
I am struggling to get the individual account subtotals to display correctly on sheet "Data"

The concept is that :
If My filter hides the 1st occurrence, then the subtotal should appear on first VISIBLE row
The workbook should always show the TOTAL of the imported data (I2), but if the workbook is filtered, it should also show the filtered total in row 3

Even though the subtotals add up to the correct total when added manually

Excel Fox
05-17-2014, 04:19 PM
The value in cell I3 is displaying the correct subtotal value when I do a filter. Not sure what the issue is at your side. Can you clarify with an example?

in.vaibhav
05-17-2014, 04:22 PM
can you explain further with example..

Flupsie
05-17-2014, 05:46 PM
Thanks for the reply

If All The items are filtered , then the formulas In I2 to L4 gives the correct answer. However, If I de-select a value by clicking on the drop down filter in J5 and de-select for eg R -39505.51 ,
the formulas in I2:L4 returns an incorrect result

Please test and amend formula

in.vaibhav
05-19-2014, 01:54 PM
Then what should be values in respective columns.. :confused:


Thanks for the reply

If All The items are filtered , then the formulas In I2 to L4 gives the correct answer. However, If I de-select a value by clicking on the drop down filter in J5 and de-select for eg R -39505.51 ,
the formulas in I2:L4 returns an incorrect result

Please test and amend formula

Flupsie
05-21-2014, 08:17 AM
Then what should be values in respective columns.. :confused:

Thanks for the reply. The filtered value I3 should be 17,061.85 and the total in I2 should be (22,443.66)

bakerman
05-21-2014, 08:28 PM
The filtered value I3 should be 17,061.85 and the total in I2 should be (22,443.66)
These are exactly the results I get, so I'm not able to reproduce the problem.:(