Remove part of formula

Blake0920

Board Regular
Joined
Jan 2, 2022
Messages
60
Office Version
  1. 2016
Platform
  1. Windows
Trying to remove part of a formula but can't seem to get it right.

This is the current formula =SUMPRODUCT((SUBTOTAL(3,OFFSET(L4,ROW(L4:L8)-ROW(L4),)))*(R4:R8="C3CAN")*(H4:H8)*(TEXT(S4:S8,"mmm-yy")="Jan-22")) and I would like to remove the L row/field.

Every time I try to adjust, it keeps giving me invalid errors.

I would like to remove ROW L (as seen in the picture) + what is in bold below.

=SUMPRODUCT((SUBTOTAL(3,OFFSET(L4,ROW(L4:L8)-ROW(L4),)))*(R4:R8="C3CAN")*(H4:H8)*(TEXT(S4:S8,"mmm-yy")="Jan-22"))

Thank you!!
 

Attachments

  • Screenshot 2022-01-03 191759.png
    Screenshot 2022-01-03 191759.png
    23.9 KB · Views: 5

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Hi

You have to remove the whole SUBTOTAL() part.
Excel Formula:
=SUMPRODUCT((R4:R8="C3CAN")*(H4:H8)*(TEXT(S4:S8,"mmm-yy")="Jan-22"))
 
Upvote 0
Solution

Forum statistics

Threads
1,215,523
Messages
6,125,318
Members
449,218
Latest member
Excel Master

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