Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Add a unique (sequential) number to "usuername"
Add a unique (sequential) number at the end of usersnames 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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Add a unique (sequential) number to "usuername"
Not unique, but the same thing 4 times, I assume. :-(
-- David Biddulph sawtelle wrote: Add a unique (sequential) number at the end of usersnames 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 |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Add a unique (sequential) number to "usuername"
Say your data is in column A. In B1 enter:
=A1 In B2 enter: =A2 & IF(COUNTIF($A$1:A2,A2)1, COUNTIF($A$1:A2,A2)-1,"") and copy down For example: mike mike mike mike1 joe joe joe joe1 jim jim jim jim1 frank frank frank frank1 mike mike2 larry larry -- Gary''s Student - gsnu200832 "sawtelle" wrote: Add a unique (sequential) number at the end of usersnames 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 |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Add a unique (sequential) number to "usuername"
Another one:
=A1&TEXT(COUNTIF(A$1:$1,A1)-1,"0;;;") sawtelle wrote: Add a unique (sequential) number at the end of usersnames 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 -- Dave Peterson |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Add a unique (sequential) number to "usuername"
I think Dave means this:
=A4&TEXT(COUNTIF(A$1:A1,A1)-1,"0;;;") -- If this helps, please click the Yes button Cheers, Shane Devenshire "sawtelle" wrote: Add a unique (sequential) number at the end of usersnames 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 |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Add a unique (sequential) number to "usuername"
You were closer, but I really meant:
=A1&TEXT(COUNTIF(A$1:A1,A1)-1,"0;;;") (not A4 as the first cell reference) (I was cleaning up $ signs and got too aggressive!) Shane Devenshire wrote: I think Dave means this: =A4&TEXT(COUNTIF(A$1:A1,A1)-1,"0;;;") -- If this helps, please click the Yes button Cheers, Shane Devenshire "sawtelle" wrote: Add a unique (sequential) number at the end of usersnames 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 -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Difficulty "countif"-ing number of "L1" or "L2" on an autofiltered | Excel Worksheet Functions | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
how i convert "100" to "hundred"( number to text) in excel-2007 | Excel Worksheet Functions | |||
"--" (was "DCOUNT Unique Values") | Excel Worksheet Functions | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions |