count duplicate entries

cryline

New Member
Joined
Nov 5, 2013
Messages
3
I have a column of job numbers (A) and associated info in other columns related to the job number identifier. Sometimes a job will have a number of tasks so the job number will appear multiple times.
I'm looking for a formula that will count the number of duplicate job numbers when they occur and insert this figure into an adjacent column - possibly against the first instance so I can then delete the duplicate job number rows.

Any suggestions?

Thanks in advance

Adrian
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Do either of these two options work for you?


Excel 2010
ABC
1Job NumberTotal Dups after 1stOccurrence # After 1st
2830
3920
4921
5320
61020
7321
8322
9410
10510
11511
121021
13831
14220
15700
16922
17221
18100
19222
20411
211022
22600
23832
24833
Jobs
Cell Formulas
RangeFormula
B2=COUNTIF($A$2:$A$24,A2)-1
C2=COUNTIF(A$2:A2,A2)-1
 
Upvote 0

Forum statistics

Threads
1,215,067
Messages
6,122,949
Members
449,095
Latest member
nmaske

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