PC Review


Reply
Thread Tools Rate Thread

Duplicates formula

 
 
Soth
Guest
Posts: n/a
 
      12th Apr 2010

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

 
Reply With Quote
 
 
 
 
Glenn
Guest
Posts: n/a
 
      12th Apr 2010
Soth wrote:
> 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),""),"")
 
Reply With Quote
 
Teethless mama
Guest
Posts: n/a
 
      12th Apr 2010
=IF(OR(COUNTIF($A$1:A1,A1)=1,A1=A2),"",COUNTIF($A$1:A1,A1))


"Soth" wrote:

>
> 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
>

 
Reply With Quote
 
Bernd P
Guest
Posts: n/a
 
      12th Apr 2010
In B1:
=REPT(COUNTIF($A$1:A1,A1),A1<>A2)
Copy down ...

Regards,
Bernd
 
Reply With Quote
 
Soth
Guest
Posts: n/a
 
      12th Apr 2010

You're the best Bernd !! Many thanks.

"Bernd P" wrote:

> In B1:
> =REPT(COUNTIF($A$1:A1,A1),A1<>A2)
> Copy down ...
>
> Regards,
> Bernd
> .
>

 
Reply With Quote
 
Ashish Mathur
Guest
Posts: n/a
 
      13th Apr 2010
Hi,

=if(or(A1=A2,countif(A$1:A1,A1)=1),"",countif(A$1:A1,A1))

--
Regards,

Ashish Mathur
Microsoft Excel MVP

"Soth" <(E-Mail Removed)> wrote in message
news:71AD4304-84EC-4D54-93FC-(E-Mail Removed)...
>
> 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
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with formula to weed out duplicates Meenie Microsoft Excel Worksheet Functions 4 8th Jan 2010 06:17 PM
Formula to look up duplicates Dylan @ UAFC Microsoft Excel Worksheet Functions 1 12th Dec 2008 01:07 AM
formula for removing duplicates. Kang Microsoft Excel Discussion 1 19th Feb 2008 11:25 AM
Duplicates Formula Ryan''s Girl Microsoft Excel Worksheet Functions 3 16th Jan 2008 06:00 PM
Formula that recognizes duplicates =?Utf-8?B?Q291cnRuZXlmMDQ=?= Microsoft Excel Worksheet Functions 7 8th Jun 2005 07:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:58 PM.