
Signature
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com
> Not sure if I worded that correctly. Here's what I need to do: I have
> sales
[quoted text clipped - 16 lines]
> As you can see, item 121 had 3 ordered, 589 had 2 ordered. Is there a
> formula I can use to do this automatically? Thanks.
Thanks Don. I checked Countif, and it looks like would work if "total
ordered" was always 1, but that is not the case. I have to be able to look up
the item number and add the number(s) in column "b" together. Would I still
use countif?

Signature
Excel Noobie
> Look in the help index for COUNTIF
> > Not sure if I worded that correctly. Here's what I need to do: I have
[quoted text clipped - 17 lines]
> > As you can see, item 121 had 3 ordered, 589 had 2 ordered. Is there a
> > formula I can use to do this automatically? Thanks.
Don Guillett - 01 May 2008 14:52 GMT
Your OP said COUNT. If you want to count use countif. If you want to
"add the number(s) in column "b" together" use
=SUMIF(H2:H22,589,I2:I22)

Signature
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com
> Thanks Don. I checked Countif, and it looks like would work if "total
> ordered" was always 1, but that is not the case. I have to be able to look
[quoted text clipped - 25 lines]
>> > As you can see, item 121 had 3 ordered, 589 had 2 ordered. Is there a
>> > formula I can use to do this automatically? Thanks.