Checking for multiple entries in a column

shaero

New Member
Joined
Aug 9, 2011
Messages
9
Hello Forum,

I have multiple entries in a column and I'm trying to check if there are any duplicates. For example,

Column A
4132
5321
4132
8421
1341
5321
4132

What I want for this formula to do is to check the column and see if any of the cells repeat, and if they do determine the multiplicity. So the final result would look like:
A B
4132 3
5321 2
4132 3
8421 1
1341 1
5321 2

Any ideas?

Thanks in advance,

shaero
 
Last edited:

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Excel Workbook
AB
141323
253212
341323
484211
513411
653212
741323
Sheet1
Excel 2007
Cell Formulas
RangeFormula
B1=COUNTIF(A:A,A1)
B2=COUNTIF(A:A,A2)
B3=COUNTIF(A:A,A3)
B4=COUNTIF(A:A,A4)
B5=COUNTIF(A:A,A5)
B6=COUNTIF(A:A,A6)
B7=COUNTIF(A:A,A7)
 
Upvote 0
use the countif function. Example:

Code:
=COUNTIF($A:$A,A1)

paste that formula next to the first cell and copy it down, assuming that the first cell is A1

HTH
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

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