Duplicates formula

S

Soth

Result
Example

Result in col B
A B

100
100
100 3
200
300
300 2

Hi

I'd like to find the number duplicates in Column A, and place a result in
column B as shown on above in Col B. How do you create formulas?

Thanks
Soth
 
G

Glenn

Soth said:
Result
Example

Result in col B
A B

100
100
100 3
200
300
300 2

Hi

I'd like to find the number duplicates in Column A, and place a result in
column B as shown on above in Col B. How do you create formulas?

Thanks
Soth


Assuming your data is in A1:A6, this array formula (commit with
CTRL+SHIFT+ENTER) will give you exactly those results:

=IF(ROW()=MAX(IF($A$1:$A$6=A1,ROW($A$1:$A$6),"")),
IF(COUNTIF($A$1:$A$6,A1)>1,COUNTIF($A$1:$A$6,A1),""),"")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top