ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sumproduct Subtotal (https://www.excelbanter.com/excel-worksheet-functions/248231-sumproduct-subtotal.html)

Bec

Sumproduct Subtotal
 
I have the following formula and would like to use a subtotal, can anyone help?

=SUMPRODUCT((O21:O10060)*(N21:N1006=0)*($C21:$C10 06))

Essentially the formula is counting addition of vehicles in the current
month. i.e. Counts if the col O0 and col N equals 0

Jacob Skaria

Sumproduct Subtotal
 
If you are looking to ignore the hidden values try the below

=SUMPRODUCT(SUBTOTAL(3,OFFSET($C21:$C1006,ROW($C21 :$C1006)-MIN(
ROW($C21:$C1006)),0,1)),--(O21:O10060)*(N21:N1006=0),$C21:$C1006)

If this post helps click Yes
---------------
Jacob Skaria


"Bec" wrote:

I have the following formula and would like to use a subtotal, can anyone help?

=SUMPRODUCT((O21:O10060)*(N21:N1006=0)*($C21:$C10 06))

Essentially the formula is counting addition of vehicles in the current
month. i.e. Counts if the col O0 and col N equals 0



All times are GMT +1. The time now is 09:06 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com