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

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

DominicB

Well-known Member
Joined
Oct 3, 2005
Messages
1,569
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
 

Forum statistics

Threads
1,141,011
Messages
5,703,722
Members
421,311
Latest member
tanujath

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
Top