Assist with formula

S

Soth

Hi-

I'm interested in a formula medthodology rather than pivoting and advance
filter.
I'd like to look up numbers that are duplicate and more than one duplicate,
then show the result of duplicate. e.g..

A B
1 3 of 1
1
1
2 4 of 2
2
2
2
3 2 of 3
3

Thanks
Soth
 
T

Tom Hutchins

Assuming your data begins in A1 and is sorted as in your example:

In B1: =COUNTIF(A:A,A1)&" of "&A1

In B2: =IF(A2=A1,"",COUNTIF(A:A,A2)&" of "&A2)
Copy B2 down

Hope this helps,

Hutch
 
T

Teethless mama

In B1: =IF(COUNTIF($A$1:A1,A1)=1,COUNTIF(A:A,A1)&" of "&A1,"")

copy down as far as needed
 
S

Soth

Great just what i'm looking for. You know, i''m interested in learning to
write...the If, the countif, and various charactor such as &, " etc..how you
came up with logic.

Can you write a plain english logical sens of this formula? just to help me
understand.

Thanks
Soth
 

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