+ Reply to Thread
Results 1 to 9 of 9

Populate master sheet from data on multiple sheets

  1. #1
    Registered User
    Join Date
    02-05-2008
    Posts
    17

    Populate master sheet from data on multiple sheets

    What I am looking for, there is a thread right on the front page that seems to be what I want exactly, but I couldn't get it to adapt to my sheet.

    What I want is to populate a master sheet based on the values of 6 cells across 400+ sheets.

    All the information is stored in the same cell on all sheets.

    Master sheet and headers on the master are already created.

    Headers on master are as follows:
    A1 - Account Name
    B1 - Bank Name
    C1 - Sort Code
    D1 - Acct #
    E1 - BIC/SWIFT
    F1 - IBAN

    On each worksheet in the book the data to populate Master are in

    Account Name - J21
    Bank Name - J23
    Sort Code - J25
    Acct # - J27
    BIC/SWIFT - J43
    IBAN - J45


    I've attached a sample book.

    THANKS!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Populate master sheet from data on multiple sheets

    Try the attached.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-05-2008
    Posts
    17

    Re: Populate master sheet from data on multiple sheets

    Precisely that, thank you AB33!

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Populate master sheet from data on multiple sheets

    Shorter version

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    02-05-2008
    Posts
    17

    Re: Populate master sheet from data on multiple sheets

    AB, works great! Can you add in there somewhere that if the cell is blank that it carries over a blank? As it stands, if there is a blank cell, it will pull data from the next sheets cell.

    Thanks a bunch!

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Populate master sheet from data on multiple sheets

    Do you mean if .Range("J21") value is blank, the code is not copying the blank value? Which code? Both?

  7. #7
    Registered User
    Join Date
    02-05-2008
    Posts
    17

    Re: Populate master sheet from data on multiple sheets

    exactly, in both codes. Blanks in J43 and/or J45 aren't being copied as blank, it just pulls the next sheet in line's J43/45
    Last edited by jhammond10; 07-05-2013 at 12:03 PM.

  8. #8
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Populate master sheet from data on multiple sheets

    Corrected both codes.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    02-05-2008
    Posts
    17

    Re: Populate master sheet from data on multiple sheets

    Thats the ticket! Thanks a bunch.

+ 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