+ Reply to Thread
Results 1 to 6 of 6

Spreadsheet that mirrors another spreadsheet and then adds numbers in separate column

  1. #1
    Registered User
    Join Date
    07-20-2015
    Location
    New York
    MS-Off Ver
    2305 - Enterprise 365
    Posts
    147

    Spreadsheet that mirrors another spreadsheet and then adds numbers in separate column

    Hello All,
    I am requesting vba code that shows the same names from the "source list" spreadsheet and then adds numbers in sequential order in a separate column. First, however, the previous numbers and names from the "names and numbers" spreadsheet (see my attachment "initial status"), must be cleared. After the vba clears all names and numbers (except the headings in row one, of course), then the source list names can be inserted in the same order as the source list and then each name is assigned a new number in sequential order. Please see my other attachment - "End result". If you have any other questions, please do not hesitate to contact me.

    Best,
    Andrewstupendo

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,575

    Re: Spreadsheet that mirrors another spreadsheet and then adds numbers in separate column

    Try
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-20-2015
    Location
    New York
    MS-Off Ver
    2305 - Enterprise 365
    Posts
    147

    Re: Spreadsheet that mirrors another spreadsheet and then adds numbers in separate column

    Hello Jindon,
    Thanks for the VBA coding. One thing, however, that I failed to mention is that the macro should search for names
    BETWEEN "Names" and "Current End of List" from the Source List spreadsheet
    because the range of names will vary (will be dynamic).
    The code that you supplied right now includes "Current End of List".
    The "Current End of List" cell should not be included. I apologize for the oversight.

    Best,
    Andrewstupendo

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,575

    Re: Spreadsheet that mirrors another spreadsheet and then adds numbers in separate column

    OK, try change to this.
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    07-20-2015
    Location
    New York
    MS-Off Ver
    2305 - Enterprise 365
    Posts
    147

    Re: Spreadsheet that mirrors another spreadsheet and then adds numbers in separate column

    Thank you so much! works great. I will list this thread as "solved". Best, Andrewstupendo

  6. #6
    Registered User
    Join Date
    07-20-2015
    Location
    New York
    MS-Off Ver
    2305 - Enterprise 365
    Posts
    147

    Re: Spreadsheet that mirrors another spreadsheet and then adds numbers in separate column

    Hello Jindon,
    There is one more variable that needs to be addressed.
    The location of the beginning of the Names on the Source List will also vary.
    The word "Names" will not always be in cell A1 in the Source List worksheet.
    So in other words, the vba coding should search the dynamic range of names
    between "Names" and "End of Current List', no matter where the range is located on the worksheet.
    Please note that in the "Numbers and Names" spreadsheet that the headings "Names"
    and "Next_Num" will always be in cells A1 and B1, respectively.

    Please see the attached example.

    Best,
    Andrewstupendo
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Excel adds extra pages to spreadsheet
    By Wynona in forum Excel General
    Replies: 6
    Last Post: 01-17-2017, 06:26 PM
  2. updating a spreadsheet with new data from a separate spreadsheet
    By mikep374 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-09-2014, 01:46 PM
  3. Replies: 1
    Last Post: 06-14-2013, 04:07 AM
  4. Replies: 1
    Last Post: 05-16-2013, 12:50 AM
  5. Spreadsheet Automatically Adds an Entry to Separate Spreadsheet in Workbook
    By larajolly in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-29-2012, 06:02 PM
  6. Replies: 5
    Last Post: 05-09-2011, 04:53 PM
  7. huge spreadsheet-need to track adds,dels,$changes
    By rooniwife in forum Excel General
    Replies: 5
    Last Post: 01-30-2007, 03:38 AM

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