Count Numbers without counting the duplicates

Kathy Garcia

New Member
Joined
Nov 25, 2022
Messages
6
Office Version
  1. 2013
Platform
  1. Windows
Need help please. I have list of issued PO. How to count number of PO issued without counting the duplicate numbers. Numerous items are generated if more than items indicated in the PO. I want to determine how many PO issued per department. What is the formula?
1689064583744.png
 

Attachments

  • 1689064540116.png
    1689064540116.png
    5.2 KB · Views: 4

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
i can only think of it with a helper column in 2013:
I'm sure there is a single formula method, but this my best attempt:

Book1
ABC
2PO Nbr1st InstanceCount
317116
41721
51720
61720
71720
81720
91720
101741
111740
121781
131811
141821
151820
161820
171820
Sheet1
Cell Formulas
RangeFormula
C3C3=SUM(B3:B17)
B3:B17B3=IF(COUNTIF($A$3:A3,A3)=1,1,0)
 
Upvote 0
You may need to enter this with Ctrl+Shift+Enter.
Book1
AB
1PO NbrCount
21716
3172
4172
5172
6172
7172
8172
9174
10174
11178
12181
13182
14182
15182
16182
Sheet1
Cell Formulas
RangeFormula
B2B2=SUM(1/COUNTIF(A2:A16,A2:A16))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
You may need to enter this with Ctrl+Shift+Enter.
Book1
AB
1PO NbrCount
21716
3172
4172
5172
6172
7172
8172
9174
10174
11178
12181
13182
14182
15182
16182
Sheet1
Cell Formulas
RangeFormula
B2B2=SUM(1/COUNTIF(A2:A16,A2:A16))
Press CTRL+SHIFT+ENTER to enter array formulas.
@kevin9999 That is a very elegant solution. Very sharp!
 
Upvote 0

Forum statistics

Threads
1,215,465
Messages
6,124,975
Members
449,200
Latest member
Jamil ahmed

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