Subtotal on filtered list multiplied by corresponding %

mountainman88

Board Regular
Joined
Jun 22, 2019
Messages
109
Office Version
  1. 2016
Platform
  1. Windows
I have a column of percentages and a column of numbers with an autofilter above both.

Above the column of numbers I need a formula that shows a single total of only the filtered numbers displayed but multiplied by the corresponding percentage. This total should be dynamic and changed based on the filtered numbers shown.

ive tried using {subtotal(109,A:A)*subtotal(109,B:B)} as an array function but no luck

thanks
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Add a worker column for the multiplication then AGGREGATE SUM that column

Book1
ABCDE
1NumbersPercentMult34
3205%1
54011%4.4
76017%10.2
98023%18.4
Sheet1
Cell Formulas
RangeFormula
E1E1=AGGREGATE(9,1,$C$2:$C$15)
C3,C9,C7,C5C3=A3*B3
 
Upvote 0
Thanks for the response but I am looking for a solution that likely uses arrays or sum product that will perform the calculation in a single cell and creates no other columns.

in addition, your solution does not appear to fulfil the requirement of summing only visible unfiltered rows.
 
Upvote 0
I understand your wish to avoid a worker column but it would appear to me that 34 should be the answer for that example.
What number would you expect for the unfiltered A and B columns?
 
Upvote 0
I understand your wish to avoid a worker column but it would appear to me that 34 should be the answer for that example.
What number would you expect for the unfiltered A and B columns?
Ok got it, the filter part works but I do need a method with no helper columns thanks
 
Upvote 0

Forum statistics

Threads
1,215,479
Messages
6,125,043
Members
449,206
Latest member
Healthydogs

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