SUMPRODUCT partial text

Frank Rizzo

New Member
Joined
May 27, 2011
Messages
37
Trying to get excel to look in range C19:C63 for the partial word;
ABC 1 (There is one space before the abc and one after ie: ' ABC 1')
and on the same row in the range of L19:L63 for the word ABC ie: 'ABC'.
If this should happen, then count as 1.

My issue is that I can't get excel to find that partial word of ' ABC 1'


=SUMPRODUCT(--(C19:C63="* ABC 1*"),--(L19:L63="ABC"))

Thank you in advance.

Frank
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Trying to get excel to look in range C19:C63 for the partial word;
ABC 1 (There is one space before the abc and one after ie: ' ABC 1')
and on the same row in the range of L19:L63 for the word ABC ie: 'ABC'.
If this should happen, then count as 1.

My issue is that I can't get excel to find that partial word of ' ABC 1'


=SUMPRODUCT(--(C19:C63="* ABC 1*"),--(L19:L63="ABC"))

Thank you in advance.

Frank
SUMPRODUCT doesn't support wildcards. Try it like this:

=SUMPRODUCT(--(ISNUMBER(SEARCH(" ABC 1",C19:C63))),--(L19:L63="ABC"))
 
Upvote 0
You my friend are a Genius!<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<o:p> </o:p>
Thank you very much!!
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,904
Members
452,948
Latest member
Dupuhini

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