Count PO's per Supplier

jlp

New Member
Joined
Feb 14, 2024
Messages
27
Office Version
  1. 365
Platform
  1. Windows
I know this has been asked a number of ways and I feel I have got myself so convoluted with so much information I cannot make heads or tails out of how I need to write this formula

I have a spreadsheet
Suppl NamePO
Supplier A41058
Supplier A41099
Supplier A41099
Supplier A41166
Supplier A41271
Supplier B41059
Supplier B41059
Supplier C41052
Supplier D41136
Supplier E41157
Supplier E41168
Supplier F41139

I want the number of unique PO's per Supplier, such as:
Supplier A 4
Supplier B 1

For the life of me I cannot figure out how to do this.

Please help!
 
So, you are no longer looking for unique PO #, then?

If so:
* To get the number of Receipts per Supplier:
Excel Formula:
=COUNTIF($A$2:$A$16,"Supplier A")
* To get the number of Receipts per Supplier that were on time:
Excel Formula:
=SUM(FILTER(IF($E$2:$E$16<=$D$2:$D$16,1,0),$A$2:$A$16="Supplier A"))
* To get the number of Receipts per Supplier that were late:
Excel Formula:
=SUM(FILTER(IF($E$2:$E$16<=$D$2:$D$16,0,1),$A$2:$A$16="Supplier A"))
Sorry for not responding sooner - I was out of the office on Friday.

When I get a chance I will try these suggestions. Thank you very much for responding! : )
 
Upvote 0

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
So, you are no longer looking for unique PO #, then?

If so:
* To get the number of Receipts per Supplier:
Excel Formula:
=COUNTIF($A$2:$A$16,"Supplier A")
* To get the number of Receipts per Supplier that were on time:
Excel Formula:
=SUM(FILTER(IF($E$2:$E$16<=$D$2:$D$16,1,0),$A$2:$A$16="Supplier A"))
* To get the number of Receipts per Supplier that were late:
Excel Formula:
=SUM(FILTER(IF($E$2:$E$16<=$D$2:$D$16,0,1),$A$2:$A$16="Supplier A"))

I understand the formula's that you provided - Thank you.

I noticed though, that I misrepresented what I am looking for.

What I'm trying to get to is:
How many receipts did we receive from our Supplier? - Thanks to you and Fluff I now have that formula

The next two questions are:
How many of those receipts were on time given a 5 day leeway?
How many of those receipts were over 5 days late?

So I understand what the formula's are doing, I just don't know HOW to tell Excel what I want to do:
Count the number of "True's" in column L per Supplier and return that number in Column O
Count the number of "False's" in column L per Supplier and return that number in Column P

 
Upvote 0

Forum statistics

Threads
1,215,077
Messages
6,122,992
Members
449,094
Latest member
masterms

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