+ Reply to Thread
Results 1 to 6 of 6

Number Suffixes

Hybrid View

  1. #1
    Registered User
    Join Date
    01-25-2013
    Location
    Cincinnati, OH
    MS-Off Ver
    Excel 2010
    Posts
    1

    Number Suffixes

    Hello, I am trying to find a quick way to add numbers (as text) to a sting of numbers should the same number be repeated multiple times in a sequence. The problem that I am running into is this:

    Say I have cells that repeat the same number as shown below:

    123456789
    123456789
    123456789
    123456789

    What I need is these numbers to read

    12345678901
    12345678902
    12345678903
    12345678904

    ... and so on

    I am able to do this in an IF statement but the most I can get is for all the numbers in the sequence to end with "01" and I need them to ascend until the sequence ends.

    Please help!!

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Number Suffixes

    Assuming that your data starts in g2 and down, try this in H2 and copy down.

    =G2&ROW(A1)
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Number Suffixes

    Try this, Drag Down as required.
    Formula: copy to clipboard
    =IF(A1="","",A1&TEXT(COUNTIF(A$1:A1,A1),"00"))
    Attached Files Attached Files
    Last edited by Marcol; 01-25-2013 at 12:27 PM. Reason: Better Attachment
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,651

    Re: Number Suffixes

    Assuming your list of numbers starting from A1
    In B1, try:
    =A1&TEXT(COUNTIF($A$1:A1,A1),"00")
    Copy down.
    Copy and paste special/value to A column, if you want
    Quang PT

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,303

    Re: Number Suffixes

    Hi Guys,

    Try this answer with a helper column and no need to convert to a text string.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Number Suffixes

    Quote Originally Posted by MarvinP View Post
    Hi Guys,

    Try this answer with a helper column and no need to convert to a text string.
    Or numeric without a helper
    Formula: copy to clipboard
    =IF(A1="","",A1*10^2+COUNTIF(A$1:A1,A1))

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1