Final issue using SUM/SUMPRODUCT

PlumGr8

Board Regular
Joined
Nov 23, 2017
Messages
145
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
So, received a bunch of help in my other thread on how to set up some formulas to only look and count certain values that we use for tracking maintenance performed at our Job Sites. The only issues i have left is when tracking 200 and 2000.

So, i have the one formula that successfully sees when i enter 200

=SUM(IF(H3:H4825="Job Site 1",IF(ISNUMBER(MATCH(IF(MID(K3:K4825,4,1)="0","###",LEFT(K3:K325,3)),{"200"},0)),1)))

and i have one for 2000

=SUMPRODUCT(--(H3:H325="Job Site 1"),--(LEFT(K3:K325,4)="2000"))

The issue i have is when i enter 2000, the current way i HAVE to enter 2000 first, ie "2000hr/batteries", if i type 400/2000 it won't see the 2000 to count/track it. I'll keep playing with it, but if anyone has a solution that would be awesome, thanks
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
You could try this for the SUMPRODUCT formula?

Code:
=SUMPRODUCT(--(H3:H325="Job Site 1"),--(ISNUMBER(SEARCH("2000",K3:K325))))
 
Upvote 0
That worked perfect, was the one piece i was missing from the other thread i had going. Thanks again
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,191
Members
452,616
Latest member
intern444

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