Formula to get total number of multiple products

%3CLINGO-SUB%20id%3D%22lingo-sub-2129340%22%20slang%3D%22en-US%22%3EFormula%20to%20get%20total%20number%20of%20multiple%20products%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2129340%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20trying%20to%20get%20a%20formula%20to%20gather%20the%20total%20each%20piece%20of%20multiple%20products.%20For%20example%2C%20someone%20orders%20from%20us%2010%20of%20the%20option%201%20grab%20bag%20and%2010%20of%20the%20option%203%20grab%20bag.%20Both%20bags%20have%201%20blue%20shirt%2C%20and%204%20red%20shirts%2C%20the%20rest%20are%20different.%20How%20can%20I%20get%20the%20total%20of%20blue%20shirts%2C%20and%20the%20total%20of%20red%20shirts%20to%20give%20me%20the%20number%20I%20need%20to%20pull%20of%20each%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2129340%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2129368%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20to%20get%20total%20number%20of%20multiple%20products%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2129368%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F965198%22%20target%3D%22_blank%22%3E%40Cristen123%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EANSWER%3A%20Create%20an%20Excel%20Table%20that%20shows%20the%20contents%20of%20each%20grab%20bag%20in%20a%20row.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat's%20a%20general%20answer%20to%20a%20general%20question.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you'd%20like%20more%20specific%20help%2C%20you'd%20help%20us%20help%20you%20by%20attaching%20a%20copy%20of%20whatever%20kind%20of%20spreadsheet%20you've%20got%20going%20so%20far.%20It%20would%20help%20to%20know%20how%20many%20other%20things%20are%20in%20each%20grab%20bag%2C%20what%20the%20maximum%20number%20of%20distinct%20components%20is%20now%2C%20is%20expected%20to%20be.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2129385%22%20slang%3D%22de-DE%22%3ESubject%3A%20Formula%20to%20get%20total%20number%20of%20multiple%20products%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2129385%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F965198%22%20target%3D%22_blank%22%3E%40Cristen123%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22VIiyi%22%3E%3CSPAN%20class%3D%22JLqJ4b%20ChMk0b%22%3E%3CSPAN%3EHere%20is%20a%20link%20from%20Microsoft%20with%20the%20options%20for%20product%20summing.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ESum%20values%20based%20on%20multiple%20conditions%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Fsum-values-based-on-multiple-conditions-e610ae0f-4d27-480c-9119-eb644f1e847e%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Fsum-values-based-on-multiple-conditions-e610ae0f-4d27-480c-9119-eb644f1e847e%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22VIiyi%22%3E%3CSPAN%20class%3D%22JLqJ4b%20ChMk0b%22%3E%3CSPAN%3EBut%20if%20this%20is%20not%20what%20you%20are%20looking%20for%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E----%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWith%20your%20permission%2C%20if%20I%20can%20recommend%20you%2C%20add%20an%20MS%20Excel%20file%20(without%20sensitive%20data)%20to%20your%20project.%3C%2FP%3E%3CP%3EExplain%20your%20plans%20in%20relation%20to%20this%20file.%20So%20you%20can%20get%20a%20solution%20that%20is%20tailored%20to%20your%20needs%20much%20faster.%3C%2FP%3E%3CP%3EAt%20the%20same%20time%2C%20it%20is%20much%20easier%20for%20someone%20who%20wants%20to%20help%20understand%20the%20subject.%3C%2FP%3E%3CP%3EA%20win-win%20situation%20for%20everyone.%3C%2FP%3E%3CP%3EPlease%20no%20picture%2C%20even%20if%20it%20is%20said%20that%20a%20picture%20can%20say%20a%20thousand%20words%2C%20it%20is%20certainly%20not%20in%20the%20case%20of%20Excel%2C%20on%20the%20contrary%20in%20some%20cases.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20be%20happy%20to%20know%20if%20I%20could%20help.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENikolino%3C%2FP%3E%3CP%3EI%20know%20I%20don't%20know%20anything%20(Socrates)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2129625%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20to%20get%20total%20number%20of%20multiple%20products%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2129625%22%20slang%3D%22en-US%22%3E%3CP%3EHere%20is%20the%20file.%20Each%20SKU%20has%20a%20certain%20color%20of%20paint.%20We%20are%20trying%20to%20see%20how%20many%20of%20the%20same%20color%20we%20need%20when%20we%20receive%20orders%20for%20multiple%20kits.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I am trying to get a formula to gather the total each piece of multiple products. For example, someone orders from us 10 of the option 1 grab bag and 10 of the option 3 grab bag. Both bags have 1 blue shirt, and 4 red shirts, the rest are different. How can I get the total of blue shirts, and the total of red shirts to give me the number I need to pull of each?

7 Replies

@Cristen123 

 

ANSWER: Create an Excel Table that shows the contents of each grab bag in a row.

 

That's a general answer to a general question.

 

If you'd like more specific help, you'd help us help you by attaching a copy of whatever kind of spreadsheet you've got going so far. It would help to know how many other things are in each grab bag, what the maximum number of distinct components is now, is expected to be.

@Cristen123 

Here is a link from Microsoft with the options for product summing.

Sum values based on multiple conditions

https://support.microsoft.com/en-us/office/sum-values-based-on-multiple-conditions-e610ae0f-4d27-480...

 

But if this is not what you are looking for----

 

With your permission, if I can recommend you, add a MS Excel file (without sensitive data) to your project.

Explain your plans in relation to this file. So you can get a solution that is tailored to your needs much faster.

At the same time, it is much easier for someone who wants to help to understand the subject.

A win-win situation for everyone.

Please no picture, even if it is said that a picture can say a thousand words, it is certainly not in the case of Excel, on the contrary in some cases.

 

I would be happy to know if I could help.

 

Nikolino

I know I don't know anything (Socrates)

Here is the file. Each SKU has a certain color of paint. We are trying to see how many of the same color we need when we receive orders for multiple kits.

@Cristen123 

 

That set of spreadsheets may need no interpretation for YOU to understand it. You're asking quite a bit for an outsider, however, an outsider whom you've asked for help, to learn to navigate around the several sheets and make sense.

 

Would you be so kind as to give some kind of explanation for:

  • the relationships between the "Paint Breakdown" sheet and the others, how to look at the one in light of the other, or is it vice versa??
  • What's the relationship between the vertical and ;horizontal axes in the "Pain breakdown" sheet?
  • How do the columns/rows on "Paint Breakdown" relate to the Kit Component sheets?
  • And are the three "Kit Component" Sheets essentially subsets of one large set of SKUs--i.e., could they all be one sheet logically--or is there some other complex relationship between them, or none at all?
  • Each SKU, you say, "has a certain color of paint." It looks more like each SKU has multiple colors of paint. Please explain which it is and again, how to make sense of it.

Please give some examples--other than red shirts and blue shirts-- as to the kind of answers you'd be looking for to go with typical orders of different Kits.

@Cristen123 

As Mr. mathetes has already informed you, we need precise instructions / specifications on what to do / to help.

From the material and notes you have sent so far, I am unfortunately unable to follow the exact solution that you would like to achieve with Excel.

 

Nevertheless, I have adjusted the tables in your file a little where you can filter the whole table.

 

Hope this helps you.

 

If not, please provide detailed information, as Mr.mathetes  has already described.

 

Thank you for your patience and time.

 

Wish you a nice day / night with lots of health, joy and love.

 

Nikolino

I know I don't know anything (Socrates)

@mathetes 

Thank you so much for your help so far! 

You are correct, each kit SKU has multiple different colors of paint.

We can have 1 tab with all information, or keep them separate. The Paint Breakdown tab is to give us the total amount of paints are used for each kit. For example, the first paint, Amber yellow, is in 5 different kits. 
 When we get an order for 50 of one, 30 of a different kit, and 20 of another, we are trying to figure out total, how many of each paint colors we will need. If each of those kits all take Amber yellow, for example, we would need a total of 100 Amber Yellow paints. 
Essentially, we would like to be able to enter how many total number of kits were ordered and the amount of paint bottles, for each color, will be needed. 


Does this help any? 

Thank you so much for your help! 

@Cristen123 

 

Here's a partial solution. You will need to have the most recent version of Excel the way this is written, since it uses FILTER

 

You'll see a new sheet (a number of new sheets in fact), but a new sheet where you can place the orders by kit name. For multiple orders, varying quantities of different kits, you will see the total number of each paint that the total order calls for. I think that's what you want.

 

With this solution, I was only able to make it work when you begin with the Kit NAME; for some reason I haven't been able to figure out, I could not make the SKU work. I'm going to assume that your customers are more likely to use product/kit name, so this will actually be more functional.

 

There is some data clean-up needed, I think, maybe one or two SKUs are re-used when they should be distinctive. I'm going to leave all that for you to take care of. My goal was just to show a way to accomplish what you were asking. As you'll see, I trust, a single table is actually the key to being able to extract the data you were wanting to get.