Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Hello All,
I have a listing of product orders in a workbook. In another workbook I want to find the product, and sum the quantity of orders I have for each product. I have the index/match down, but it only returns the first value, I need it to go through the range and sum all the values. Here's an example of what I have, any help or hints would be appreciated. =if(iserror(match($a2,Orders!J:J,0)),"0",index(Ord ers!I:I,match($a2,Orders!J :J,0))) Thanks Pam |
#2
![]() |
|||
|
|||
![]()
Use COUNTIF. It's documented in Help. If you need the total value of those
orders and you have a column with the order total, it would be SUMIF. Again, see Help. On Wed, 27 Oct 2004 14:36:58 -0400, "Pamela" wrote: Hello All, I have a listing of product orders in a workbook. In another workbook I want to find the product, and sum the quantity of orders I have for each product. I have the index/match down, but it only returns the first value, I need it to go through the range and sum all the values. Here's an example of what I have, any help or hints would be appreciated. =if(iserror(match($a2,Orders!J:J,0)),"0",index(Or ders!I:I,match($a2,Orders!J :J,0))) Thanks Pam |
#3
![]() |
|||
|
|||
![]()
Thanks,
That works! Pam "Myrna Larson" wrote in message ... Use COUNTIF. It's documented in Help. If you need the total value of those orders and you have a column with the order total, it would be SUMIF. Again, see Help. On Wed, 27 Oct 2004 14:36:58 -0400, "Pamela" wrote: Hello All, I have a listing of product orders in a workbook. In another workbook I want to find the product, and sum the quantity of orders I have for each product. I have the index/match down, but it only returns the first value, I need it to go through the range and sum all the values. Here's an example of what I have, any help or hints would be appreciated. =if(iserror(match($a2,Orders!J:J,0)),"0",index(Or ders!I:I,match($a2,Orders! J :J,0))) Thanks Pam |
#4
![]() |
|||
|
|||
![]()
I take that back, The SUMIF works, but it brings over the wrong totals, I
have retyped the partnumbers so I know it is matching correctly, but it is dropping some and adding some other places, could you look at this formula and tell me what I could have done wrong? =SUMIF(Orders!$I:$I,MATCH($a3,Orders!$J:$J,0)) Thanks Pam "Myrna Larson" wrote in message ... Use COUNTIF. It's documented in Help. If you need the total value of those orders and you have a column with the order total, it would be SUMIF. Again, see Help. On Wed, 27 Oct 2004 14:36:58 -0400, "Pamela" wrote: Hello All, I have a listing of product orders in a workbook. In another workbook I want to find the product, and sum the quantity of orders I have for each product. I have the index/match down, but it only returns the first value, I need it to go through the range and sum all the values. Here's an example of what I have, any help or hints would be appreciated. =if(iserror(match($a2,Orders!J:J,0)),"0",index(Or ders!I:I,match($a2,Orders! J :J,0))) Thanks Pam |
#5
![]() |
|||
|
|||
![]()
=SUMIF(Orders!J:J,$A2,Orders!I:I)
HTH Jason Atlanta, GA -----Original Message----- Hello All, I have a listing of product orders in a workbook. In another workbook I want to find the product, and sum the quantity of orders I have for each product. I have the index/match down, but it only returns the first value, I need it to go through the range and sum all the values. Here's an example of what I have, any help or hints would be appreciated. =if(iserror(match($a2,Orders!J:J,0)),"0",index(Or ders! I:I,match($a2,Orders!J :J,0))) Thanks Pam . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|