MrKaliszan
New Member
- Joined
- Mar 2, 2022
- Messages
- 4
- Office Version
- 365
- Platform
- MacOS
Hi,
I have a problem combining a SUMIF and SUBTOTAL formula into one formula, so i only get the "shown" filtered rows summed when criteria is met. I hope you can help?
=SUMIF($D$5:D25;”Small";E5:E25)
=SUBTOTAL(9;E5:E25)
$D$5:D25 - is the range to look for the word “Small”
“Small” - is the criteria for which to SUM
E5:E25 - Is the range to sum If criteria is met
However I also have a filter in column B to filter the shown rows in E5:E25 and only want to sum the shown rows meeting the criteria “small” in Column D.
The formula is typed into cell E28
In E29 I have a similar formula looking for “Medium”
And in E30 I have one looking for “Large”
I have a problem combining a SUMIF and SUBTOTAL formula into one formula, so i only get the "shown" filtered rows summed when criteria is met. I hope you can help?
=SUMIF($D$5:D25;”Small";E5:E25)
=SUBTOTAL(9;E5:E25)
$D$5:D25 - is the range to look for the word “Small”
“Small” - is the criteria for which to SUM
E5:E25 - Is the range to sum If criteria is met
However I also have a filter in column B to filter the shown rows in E5:E25 and only want to sum the shown rows meeting the criteria “small” in Column D.
The formula is typed into cell E28
In E29 I have a similar formula looking for “Medium”
And in E30 I have one looking for “Large”