Count and Countif statements

KA7DJW

New Member
Joined
Sep 17, 2006
Messages
2
I have a spread sheet that has for example in column A the supplier source. In column B is a source code for discrepancies of parts received late.

I need a formula that will for example count all of certain supplier in column A that has a specific source code in column B.

Note: Coulumn A will have maybe three or four suppliers sources where as coulumn B can hace codes ranging from A-Z and 0-9. Both coulumns will have duplicates.

Thanks

David
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Good morning KA7DJW

Welcome to the board!

How about :

=SUMPRODUCT(--(Sheet1!$A$1:$A$100="Bob Ltd"),--(Sheet1!$B$1:$B$10="A"))

To count the number of cells where supplier = "bob ltd" and the source is = "A" - obviously the range may need altering.

If this formula helped, there is a utility in my add-in (via link below) to construct this type of formula to count / sum cells meeting a number of different criteria.

HTH

DominicB
 
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,941
Members
449,094
Latest member
teemeren

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top