View Single Post
  #2   Report Post  
Myrna Larson
 
Posts: n/a
Default

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