+ Reply to Thread
Results 1 to 6 of 6

Numbering the column based on another column

  1. #1
    Registered User
    Join Date
    06-26-2012
    Location
    wv
    MS-Off Ver
    Excel 2010
    Posts
    13

    Numbering the column based on another column

    HELLO,

    i HAVE A DATA THAT LOOKS LIKE THIS,

    10199751
    10199751
    10199751
    10199760
    10199760
    10199765
    10199765
    10199765
    10199765
    10199765
    10199765
    10199765
    10199765
    10199777
    10199777
    10199777
    10199777
    10199777
    10199777
    10199777
    10199777
    10199780
    10199780
    10199780
    10199780
    10199780
    10199780
    10199780
    10199789
    10199789
    10199798
    10199798


    THE RESULT I WANT IS

    10199751 1
    10199751 2
    10199751 3
    10199760 1
    10199760 2
    10199765 1
    10199765 2
    10199765 3
    10199765 4
    10199765 5
    10199765 6
    10199765 7
    10199765 8
    10199777 1
    10199777 2
    10199777 3
    10199777 4
    10199777 5
    10199777 6
    10199777 7
    10199777 8
    10199780 1
    10199780 2
    10199780 3
    10199780 4
    10199780 5
    10199780 6
    10199780 7
    10199789 1
    10199789 2
    10199798 3
    10199798 4


    LIKE THIS I HAVE SOME 40,000 FILES AND I NEED TO NUMBER THEM AUTOMATICALLY.......BASED ON THE "A" COLUMN................HOPE SOMEONE HELPS ME WITH A MACRO

    THANKS

  2. #2
    Forum Contributor
    Join Date
    02-12-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2007
    Posts
    275

    Re: Numbering the column based on another column

    If the sample data is in Column A
    Here is the the formula that will help you.

    Please Login or Register  to view this content.
    Drag this formula down for as many rows as needed

    you don't need a Macro

    would you like still like a formula?

  3. #3
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Numbering the column based on another column

    No need for a macro when you can use

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Also, might want to get your caps lock key check it seems to be stuck...
    HTH
    Regards, Jeff

  4. #4
    Registered User
    Join Date
    06-26-2012
    Location
    wv
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Numbering the column based on another column

    Thanks guys.........

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Numbering the column based on another column

    You are welcome. We are glad to have helped and thanks for the feedback

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  6. #6
    Forum Contributor
    Join Date
    03-21-2012
    Location
    Ho Chi Minh city
    MS-Off Ver
    Excel 2003
    Posts
    180

    Re: Numbering the column based on another column

    Please Login or Register  to view this content.

+ 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