Formula still sees filtered rows/data causing rolling sums to be incorrect

DM7FXT

New Member
Joined
Oct 17, 2020
Messages
2
Office Version
  1. 2013
Platform
  1. Windows
When I filter out rows of data, my formula can still see the filtered data. This causes rolling sums to be incorrect. In Table 3, I have filtered out Red but the rolling sum formula still uses Red in its calculations. In this example, Cell E26 has the formula =(D26+E25) but I would like it to read =(D26+E24). Thank you for any help.
 

Attachments

  • Filter Issue image.jpg
    Filter Issue image.jpg
    111.8 KB · Views: 12

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
i think from 2013 AGGREGATE was included in excel, that will ignore filtered values
 
Upvote 0
Try this in E24 and fill down
Excel Formula:
=AGGREGATE(9,5,D$24:D24)

@mole999 AGGREGATE is included from 2010 onwards.
 
Upvote 0
That is great, Aggregate worked a treat
Thank you both very much
 
Upvote 0

Forum statistics

Threads
1,215,008
Messages
6,122,672
Members
449,091
Latest member
peppernaut

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top