Sum function in filtered row

Melika_Sn

New Member
Joined
Apr 27, 2022
Messages
5
Platform
  1. Windows
Hey guys,
I have an Excel file that I want to apply the sum-formula to the filtered rows as well. At present, the total value does not change when I filter the rows.

AM8=SUMIF(INDIRECT("Ordersheet!$AL$" & $AO$5 & ":$AL$" & $AO$8);INDIRECT("Ordersheet!$AK$" & $AO$5 & ":$AK$" & $AO$8);"<>NO";INDIRECT("Ordersheet!$AI$" & $AO$5 & ":$AI$" & $AO$8);"<>STORNO")
AO8 = =If (SUMPRODUCT(MAX(($A:$A<>"")*ROW($A:$A)))=7;8;SUMPRODUCT(MAX(($A:$A<>"")*ROW($A:$A))))
AO5=10
1652179990947.png
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
The aggregate function should make quick work of it.

MrExcelPlayground8-1.xlsx
ABCD
1Title4455
21
32
43
65
76
98
109
1110
Sheet21
Cell Formulas
RangeFormula
C1C1=AGGREGATE(9,5,A2:A11)
D1D1=AGGREGATE(9,4,A2:A11)
 
Upvote 0
The aggregate function should make quick work of it.

MrExcelPlayground8-1.xlsx
ABCD
1Title4455
21
32
43
65
76
98
109
1110
Sheet21
Cell Formulas
RangeFormula
C1C1=AGGREGATE(9,5,A2:A11)
D1D1=AGGREGATE(9,4,A2:A11)
Can you Please tell me how to add it to my formula? I get error :(
 
Upvote 0

Forum statistics

Threads
1,215,692
Messages
6,126,227
Members
449,303
Latest member
grantrob

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