Sum Product and Subtotal

tomb242

New Member
Joined
Apr 9, 2018
Messages
2
Hello. I am working on a retention report and have created a Sum product formula counting new people who appeared this. This works well.

=SUMPRODUCT( --(Table1[2017] =1), --(Table1[2016]=0))

My problem is creating a subtotal for after a filter/slicer being applied. I have scoured these boards and when I think I have cracked it I get errors for too few or too many arguments.

This is how it sits at present having too few arguments and to be honest I am not sure how to proceed.

=SUMPRODUCT( --(Table1[2014] =1), --(Table1[2013]=0), SUBTOTAL(9, OFFSET(--(Table1[2014] =1), --(Table1[2013]=0)))

Any advice/clues/pointers gratefully received. I am using Excel 2016.

Thanks in advance.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
I am working on a retention report and have created a Sum product formula counting new people who appeared this year (missed that out and cannot edit the post!)
 
Upvote 0

Forum statistics

Threads
1,224,825
Messages
6,181,190
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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