Forum Discussion
Sum of All Product?
- Sep 17, 2021
Qinnab You could use SUMIF as demonstrated in the attached file. It's not very elegant though and perhaps your real life situation isn't as simplistic as your example suggests.
Qinnab You could use SUMIF as demonstrated in the attached file. It's not very elegant though and perhaps your real life situation isn't as simplistic as your example suggests.
- QinnabSep 17, 2021Copper Contributor
Thanks Riny_van_Eekelen , it is a kind of real-life situation, I have multiple columns ( Stores) that I need to get the total of products in.
I know how to get it in long formula using sumproduct, but I still believe there is an easier way to do it, maybe Vlookup! I just can't figure it out.
- Riny_van_EekelenSep 17, 2021Platinum Contributor
Qinnab How many stores? I suspect more than a couple, thus the formula will indeed get very clumsy with SUMPRODUCT or SUMIF.
Do you have any influence over how the store data get assembled? Why in columns, side-by-side? If you can get it all in three columns (Store, Product, Qty), you could do it in the blink of an eye with a pivot table.
- QinnabSep 17, 2021Copper ContributorI have 9 stores with 9 quantities in columns beside it, I have no control over storing this data since this is an output of several formulas within many sheets too. I believe Sum and Vlookup should be used here somehow! for now, I will settle with Sumif until I figure an easier way. Thank You very much for your help.