Hi Everyone,
I have question about summing up of values in a column based upon criteria in a different column (I can't use macros or VBA). I've attached a sample spreadsheet, where I need a value calculated in Column H (highlighted in Yellow). Let me explain...
I have different items (Column A) that use different Flavors (Column C) in a certain Quantities (Column B). Some of the Items may be duplicated (in Column A...like SKU-1 & SKU-2) and some Items may not have any Quantity Used (Column B...like SKU-3 in B14 and SKU-222 in B16).
What I want is to sum all of the Flavor Used (by Flavor) in H2 to H8, summing up the Quantities (Column B) of only the unique values of Items (Column A). In other words, I don't want to count SKU-1's Quantities twice (since they appear twice), only once.
Thus, the total of Vanilla used (formula needed for H2) should be 171, not 173 (if B13 is counted, as a duplicate of B2) and the total of Chocolate (formula needed for H3) should be 31, not 40 (if B15 is counted, as a duplicate of B3).
I know (or rather think) that some use of SUMIF or SUMIFS is a good way to go, but I'm a bit stuck (I can get the SUMIF to work, but my version is counting multiple instances of the same SKU). I found a possible idea at http://www.excelforum.com/excel-gene...-criteria.html, but I need it as a Summary table, like I have in my sample spreadsheet.
BTW, I cannot add any new colums to the original spreadsheet (i.e. I can't add info to Column D), but I can do whatever I want in Column J and beyond (the summary table is editable, but the original info is not).
Can somebody help please?
Thank you in advance,
Yury
Bookmarks