Amending SUMIFS to SUMPRODUCT(SUBTOTAL(9

Jenko_D

New Member
Joined
Mar 19, 2019
Messages
2
Hi there, I'm struggling to convert a SUMIFS formula into a formula that all totals depending on filtered rows.

My original formula was:

=SUMIFS(V$43:V$4678,$BV$43:$BV$4678,$A43,$K$43:$K$4678,"<>Programme")

I've tried a fair few combinations SUMPRODUCT(SUBTOTAL(9,OFFSET but each time the cell returns a blank. Can someone please help?

Thanks very much!
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
try

Code:
=SUMPRODUCT(SUBTOTAL(9,OFFSET(V$43,ROW(V$43:V$4678)-ROW(V43),0)),--(BV$43:BV$4678=A43),--(K$43:K$4678<>"Programme"))
 
Upvote 0
Hi AlanY... thanks for the help. Really appreciate it.

That formula returned a circular reference error... which makes sense now I know the formula is correct and really interrogated it.

Question... can you have the cell where you place the total (i.e. the formula above) in the same array as the formula checks... but exclude that total cell with criteria? For reference, my workbook has lots of total lines (multiple rows) for different categories that I'd have to exclude from the sum.
 
Upvote 0
you're welcome

as to your follow up i guess that will ended up with a circular reference error, not quite sure how you wanted to deal with it
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,488
Members
448,967
Latest member
visheshkotha

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