Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default Is There A Solution.......?

Dear Friends,

I need to recognise the duplicate data in a selected range and add an
alphabet to the duplicate data.

Is this possible through a macro, can any one help.............?


Thanks in advance

Regards
Thyagaraj

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Is There A Solution.......?

How about a formula?

For data in column G, starting in row 2. Put this in cell H2, and copy down to match column G:

=IF(COUNTIF($G$2:G2,G2)=1,G2,G2&CHAR(COUNTIF($G$2: G2,G2)+63))

This will work for up to 26 duplicates....

HTH,
Bernie
MS Excel MVP


"Thyagaraj" wrote in message
ps.com...
Dear Friends,

I need to recognise the duplicate data in a selected range and add an
alphabet to the duplicate data.

Is this possible through a macro, can any one help.............?


Thanks in advance

Regards
Thyagaraj



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default Is There A Solution.......?

Dear Bernie Deitrick,


Thank u, its working fine....



Regards
Thyagaraj
Bernie Deitrick wrote:
How about a formula?

For data in column G, starting in row 2. Put this in cell H2, and copy down to match column G:

=IF(COUNTIF($G$2:G2,G2)=1,G2,G2&CHAR(COUNTIF($G$2: G2,G2)+63))

This will work for up to 26 duplicates....

HTH,
Bernie
MS Excel MVP


"Thyagaraj" wrote in message
ps.com...
Dear Friends,

I need to recognise the duplicate data in a selected range and add an
alphabet to the duplicate data.

Is this possible through a macro, can any one help.............?


Thanks in advance

Regards
Thyagaraj


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Is There A Solution.......?

Glad to hear it....

Bernie
MS Excel MVP


Thank u, its working fine....



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
solution wants shoyeb2045 Excel Discussion (Misc queries) 4 August 14th 08 08:34 PM
Web Solution StephenBexcel Excel Discussion (Misc queries) 0 May 13th 08 06:30 PM
Need a solution! drucey[_15_] Excel Programming 2 March 18th 06 09:12 PM
Solution please vishu Excel Discussion (Misc queries) 19 May 11th 05 11:43 PM
Is there a solution? Mike Excel Programming 0 March 2nd 04 11:42 PM


All times are GMT +1. The time now is 12:23 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"