#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Countif

Can someone help me on a countif problem.

I have a list of parts with Qty, but not all in the same order.

I want to be able to count the Qty colum (B) IF the part number
matches (A)

A B C

1112 2
1111 1
1234 4
1112 1
1234 3


I have come up with the formula of =COUNTIF(A2:A67,A2), but this only
counts the amount of part number rather than the qty

Would be grateful for any ideas

Linexe

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Countif

Maybe

=SUMIF(A:A,C1,B:B)

With your lookup value in C1

Mike

"Linexe" wrote:

Can someone help me on a countif problem.

I have a list of parts with Qty, but not all in the same order.

I want to be able to count the Qty colum (B) IF the part number
matches (A)

A B C

1112 2
1111 1
1234 4
1112 1
1234 3


I have come up with the formula of =COUNTIF(A2:A67,A2), but this only
counts the amount of part number rather than the qty

Would be grateful for any ideas

Linexe


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
COUNTIF Simon Minder Excel Discussion (Misc queries) 3 June 13th 06 09:17 AM
How do I use a countif function according to two other countif fu. Kirsty Excel Worksheet Functions 2 February 20th 06 11:44 AM
edit this =COUNTIF(A1:F16,"*1-2*")+COUNTIF(A1:F16,"*2-1*") sctroy Excel Discussion (Misc queries) 2 September 25th 05 04:13 AM
COUNTIF or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
COUNTIF in one colum then COUNTIF in another...??? JonnieP Excel Worksheet Functions 3 February 22nd 05 02:55 PM


All times are GMT +1. The time now is 10:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"