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!
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
So, I downloaded your, clicked on cell F2 and hit the Enter key, and it updated the value correctly.
I then copied it down the whole page and it updated the rest, like this:

1708006063899.png


What happens if you go to cell F2, use the "F2" key to bring up the formula in editor mode, and hit Enter?

By the way, if you want the values in column E only listed once each, place this formula in cell E2:
Excel Formula:
=UNIQUE(A2:A13)

Then if you copy the formula in F2 down to cell F6, you should get this:

1708006245991.png
 
Upvote 0
Build version 2204 is quite old. If you type =choo into any cell do you get Choose as an option, or do you also get choosecols & chooserows?
 
Upvote 0
When I went to cell F2 and pressed the F2 key I received the following:

1708006691688.png
 
Upvote 0
Sorry - also when I copied the formula: =UNIQUE(A2:A13)
in E2 I received a SPILL error
 
Upvote 0
When I went to cell F2 and pressed the F2 key I received the following:
Yes, and now hit Enter to re-enter that formula. Does the value update then?

Sorry - also when I copied the formula: =UNIQUE(A2:A13)
in E2 I received a SPILL error
You need to delete everything below cell E2 in column E first, as it is a "Spill" formula that will automatically populate/fill the rest of the values.

I am guessing that your issue is what fluff is alluding to - you may be using an older version that does not have all of these functions yet.
It is odd, because when that happens, you would typically get a #NAME error instead of a value that is not correct.
 
Upvote 0
Build version 2204 is quite old. If you type =choo into any cell do you get Choose as an option, or do you also get choosecols & chooserows?
When I type =choo I get Choose as an option

Sorry I didn't reply sooner - I didn't see your post

My apologies
 
Upvote 0
That means you don't have choosecols, although as Joe said, I'm surprised you don't get a #name error.
Try
Excel Formula:
=LET(a,INDEX(UNIQUE($A$2:$B$13),,1),COUNTA(FILTER(a,a=$E2)))
 
Upvote 0
Solution
Yes, and now hit Enter to re-enter that formula. Does the value update then?


You need to delete everything below cell E2 in column E first, as it is a "Spill" formula that will automatically populate/fill the rest of the values.

I am guessing that your issue is what fluff is alluding to - you may be using an older version that does not have all of these functions yet.
It is odd, because when that happens, you would typically get a #NAME error instead of a value that is not correct.
The SPILL error went away when I removed the information under it and retyped the formula. When I hit <enter> I received Supplier A.
When I copied the formula down I received the following:
1708008042320.png
 
Upvote 0
Did you just hit Enter, or Ctrl Shift Enter?
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,307
Members
452,633
Latest member
DougMo

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