Need help with a sumif using search text function

silverback24

Board Regular
Joined
Jul 30, 2013
Messages
58
I have a feeling I will need to do this with a macro. But either way I am currently stumped.

My data sheet looks something like this:
B C D
# SOLD IN 2013
RankFits All
5521Infiniti G35 2002 - 2004 - 2WD or AWD Models with Standard
5442Infiniti EX35 2008 - 2012<BR><BR>Infiniti G25X 2011 - 2012 "X"
5053Chevrolet Astro 2003 - 2005<BR><BR>Chevrolet Silverado
4814Honda Civic Coupe 1993 - 2000 DX or HX
4765Acura Integra 1994 - 2001 (Excluding Type R!)<BR><BR>Honda
4476Honda Civic Coupe 1996 - 2000 EX Models<BR><BR>Honda
4187Ford Excursion 2000 - 2005 4WD Models Only <BR><BR> Ford
4128Cadillac Escalade 2007 - 2012<BR><BR> Chevrolet Avalanche
4119Ford Mustang 1999 - 2004 Base or GT (Excludes Cobra and GT
39710Dodge Durango 2004 - 2006<BR><BR>Dodge Ram 1500 2002

<colgroup><col><col><col></colgroup><tbody>
</tbody>

I have a list of all the makes we sell parts for on another sheet say column A.
I would like to have a function like sumif search for the make in the fits all and add the # sold in 2013 for a total sold per make. Column A is our SKU and wont help in this part. The fits all can be quite long due to it containing between 1 and 20 cars listed inside.

Potentially use same formula to search by model of car also afterward if this works.

Thank you for any help.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
I can do this manually by using filter and sum but would like to find a faster way that my coworkers and managers might actually use.
 
Upvote 0
Would you be willing post a copy of the workbook somewhere, and walk me through how you calculate this by hand step by step?

You can fake what some data looks like if needed to keep confidentiality.
 
Upvote 0
Figured it was a good idea to post the solution I found for this problem.

I ended up using wildcards in my sumifs statement

Ex. "*"&search criteria&"*"

This will search in the body of the text in the cell and return true if criteria is anywhere in there. Remove front "*"& for searching cells that begin with your criteria, remove &"*" for searching cells that end with your criteria.
can use typed in criteria or a cell reference, which I used.
 
Upvote 0

Forum statistics

Threads
1,215,003
Messages
6,122,655
Members
449,091
Latest member
peppernaut

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