+ Reply to Thread
Results 1 to 3 of 3

Adding number to the end of alphanumeric cell values in a column

Hybrid View

  1. #1
    Registered User
    Join Date
    01-28-2010
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    40

    Adding number to the end of alphanumeric cell values in a column

    Does anyone know a good way to add numbers to the end of specific values in a column for example:

    foot1six
    foot1six
    foot2six
    foot4six
    foot3six
    foot2six
    foot3six
    foot4six
    foot1six
    foot2six
    foot3six
    foot1six
    foot1six

    How would I add a consecutive number 1,2,3 after the same values in the example row to create the following:

    foot1six1
    foot1six2
    foot2six1
    foot4six1
    foot3six1
    foot2six2
    foot3six2
    foot4six2
    foot1six3
    foot2six3
    foot3six3
    foot1six4
    foot1six5

    Mike
    Last edited by mike_m1; 07-07-2010 at 04:22 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Adding number to the end of alphanumeric cell values in a column

    Try:

    =A1&COUNTIF(A$1:A1,A1)

    copied down where A1 contains first item.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    01-28-2010
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    40

    Re: Adding number to the end of alphanumeric cell values in a column

    NBVC, complete and utter genius, properly impressed, have been hitting my head against the desk trying to get to the bottom of this one and it's answered in minutes on here, thank you very much.

    Mike

+ 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