Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
unique SUM
I have three columns,. first column contains a list of items, and the
second one is the description of the first column, and the third one is qty of each item. specific items may be repeated multiple times within the first column, how could I get the unique SUM of each item? |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
unique SUM
Maybe this
=SUMPRODUCT((A1:A30="Coats")*(B1:B30="Red Ones")*(C1:C30)) Obviously changed to match what you are looking for in columns A & B. Mike "kaveh" wrote: I have three columns,. first column contains a list of items, and the second one is the description of the first column, and the third one is qty of each item. specific items may be repeated multiple times within the first column, how could I get the unique SUM of each item? |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
unique SUM
Try something like this:
=SUMIF(A1:A100,"item1",C1:C100) Or, better to use a cell to hold the item name: E1 = item1 =SUMIF(A1:A100,E1,C1:C100) -- Biff Microsoft Excel MVP "kaveh" wrote in message ... I have three columns,. first column contains a list of items, and the second one is the description of the first column, and the third one is qty of each item. specific items may be repeated multiple times within the first column, how could I get the unique SUM of each item? |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Hi Mike
Thanks for your time, actualy lets make it two columns, one in the item, and
second is the qty of each item, by using the formula below I have the unique list if items of the first column, but each itme has diffrent quantity and repeated lots of time, I want to get the total sum of each unique item {=INDEX($A$3:K$200,MATCH(TRUE,ISERROR(MATCH($A$3:$ A$200,$M$2:$M2,0)),0),1)} Maybe this =SUMPRODUCT((A1:A30="Coats")*(B1:B30="Red Ones")*(C1:C30)) Obviously changed to match what you are looking for in columns A & B. Mike "kaveh" wrote: I have three columns,. first column contains a list of items, and the second one is the description of the first column, and the third one is qty of each item. specific items may be repeated multiple times within the first column, how could I get the unique SUM of each item? |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Hi Mike
Hmmm,
I have three columns,. ..... sometimes you hit em sometimes you don't :( Mike "kaveh" wrote: Thanks for your time, actualy lets make it two columns, one in the item, and second is the qty of each item, by using the formula below I have the unique list if items of the first column, but each itme has diffrent quantity and repeated lots of time, I want to get the total sum of each unique item {=INDEX($A$3:K$200,MATCH(TRUE,ISERROR(MATCH($A$3:$ A$200,$M$2:$M2,0)),0),1)} Maybe this =SUMPRODUCT((A1:A30="Coats")*(B1:B30="Red Ones")*(C1:C30)) Obviously changed to match what you are looking for in columns A & B. Mike "kaveh" wrote: I have three columns,. first column contains a list of items, and the second one is the description of the first column, and the third one is qty of each item. specific items may be repeated multiple times within the first column, how could I get the unique SUM of each item? |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Thanks T. Valko
You did it.
|
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Thanks Mike
=SUMIF(A1:A100,E1,C1:C100)
It worked for me |
#8
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Thanks Mike
and i would have suggested something along those lines for 2 columns
"kaveh" wrote: =SUMIF(A1:A100,E1,C1:C100) It worked for me |
#9
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Thanks T. Valko
You're welcome!
-- Biff Microsoft Excel MVP "kaveh" wrote in message ... You did it. |
#10
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
unique SUM
Hi,
you may also want to use Data Subtotals -- Regards, Ashsih Mathur Microsoft Excel MVP www.ashishmathur.com "kaveh" wrote in message ... I have three columns,. first column contains a list of items, and the second one is the description of the first column, and the third one is qty of each item. specific items may be repeated multiple times within the first column, how could I get the unique SUM of each item? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to pick out unique components in a list with unique and common | Excel Discussion (Misc queries) | |||
Attempting to sort unique/only count first record in each unique g | Excel Discussion (Misc queries) | |||
Finding unique names--then converting those names to unique number | Excel Discussion (Misc queries) | |||
unique filter results in some non-unique records. | Excel Discussion (Misc queries) | |||
UNIQUE VALUE | Excel Discussion (Misc queries) |