Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Looking to add unique (sequential) number to already generated Use

Greetings All,

I have several hundred usernames that are identical (ex. 50 "mjones"). I
want to be able to use excel if possible to place a unique and sequential
number at the end of the duplicates (after the first original of course).

I was able to create a worksheet with "Concoctonate=Conditional
Formatting=True&False=Sorting"... Now just looking for a way to automate
the "adding of unique numbers" at the end of the username.... Any advice...?

Thank you!
Sawtelle
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Looking to add unique (sequential) number to already generated Use

If you don't need your numbers to start at 1, you can do the following:
1. Sort your column of names (assumed to be A).
2. In the next column, use the formula:
=if(a2<a1,a2,a1&row())
3. Copy down

If you want your numbers to restart at 1:
1. Sort your column of names.
2. In column B1 enter 1
3. In b2, use:
=if(a2<a1,1,b1+1)
4. In column C, use:
=a1&b1
5. Copy down.

If you want a consistent number of digits in the number use:
=a1&Text(b1,"00")

Once you're done, you can copy/paste special/values the results column, and
delete the originals.

Regards,
Fred

"Sawtelle" wrote in message
...
Greetings All,

I have several hundred usernames that are identical (ex. 50 "mjones"). I
want to be able to use excel if possible to place a unique and sequential
number at the end of the duplicates (after the first original of course).

I was able to create a worksheet with "Concoctonate=Conditional
Formatting=True&False=Sorting"... Now just looking for a way to automate
the "adding of unique numbers" at the end of the username.... Any
advice...?

Thank you!
Sawtelle


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
Assign unique auto-generated number Silena K-K Excel Discussion (Misc queries) 0 January 28th 08 10:44 PM
Counting unique values in a list generated with the OFFSET functio mikelee101 Excel Worksheet Functions 3 December 6th 07 09:50 PM
Generating Unique Sequential Numbers Emma Winskill Excel Discussion (Misc queries) 3 June 22nd 07 10:12 PM
Qualifying a generated value as unique across worksheets jloos Excel Discussion (Misc queries) 3 August 1st 06 09:54 PM
unique sequential number excel 2000 Ches Excel Discussion (Misc queries) 0 May 13th 05 10:55 PM


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