Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 55
Default Duplicates formula


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

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Duplicates formula

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)," "),"")
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Duplicates formula

=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

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 806
Default Duplicates formula

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

Regards,
Bernd
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 55
Default Duplicates formula


You're the best Bernd !! Many thanks.

"Bernd P" wrote:

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

Regards,
Bernd
.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Duplicates formula

Hi,

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

--
Regards,

Ashish Mathur
Microsoft Excel MVP

"Soth" wrote in message
...

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with formula to weed out duplicates Meenie Excel Worksheet Functions 4 January 8th 10 06:17 PM
Formula to look up duplicates Dylan @ UAFC[_2_] Excel Worksheet Functions 1 December 12th 08 01:07 AM
Duplicates Formula Ryan''s Girl Excel Worksheet Functions 3 January 16th 08 06:00 PM
array formula with duplicates JR573PUTT Excel Discussion (Misc queries) 0 February 16th 06 09:18 PM
Formula that recognizes duplicates Courtneyf04 Excel Worksheet Functions 7 June 8th 05 07:06 PM


All times are GMT +1. The time now is 06:56 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"