+ Reply to Thread
Results 1 to 7 of 7

Automatically update a couple of columns from master worksheet in other sheets

  1. #1
    Registered User
    Join Date
    05-14-2010
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2007
    Posts
    7

    Automatically update a couple of columns from master worksheet in other sheets

    Hey Folks,

    I've been searching for an answer to this for ages, and if it's been posted before, my sincerest apologies but it has eluded me so far!

    In concept, the problem would seem to be minor. As you can see on the attached simplified workbook - I have three sheets "Master", "Project" and "Comms".

    Essential what I want is for the "Project" and "Comms" sheets to display the same names as the "Master" sheet (Master!A) as well as a couple of extra columns that are on "Master". More importantly, I want the "Project" and "Comms" sheets to automatically update as soon as I insert a new row into the "Master" sheet (i.e. a new person). I think it's important to note that cells aren't easily referenced (e.g. Master!A2 "Brian Jones" doesn't equal Project!A2) because on the subordinate sheets I have a varying number of header rows which throws it all out of whack.

    The database contains 500+ rows and I'm using Excel 2007 if that's relevant.

    For clarities sake, I have already tried two solutions to the problem. Firstly, grouping the sheets doesn't work because as I mentioned above the row numbers aren't contiguous. Secondly, I've tried just referencing using =Master!A:A which works beautifully in terms of auto updating but fails miserably in that data is lost because of the varying number of header rows.

    I'm sure there must be a relatively simple solution (non-macro based) surely?

    Thanks for any help offered.
    Attached Files Attached Files

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

    Re: Automatically update a couple of columns from master worksheet in other sheets

    I am not sure I follow. Where is the rest of the data (Project/Email data) coming from?

    To transfer the names, you can have something like:

    =IF(Master!A2="","",Master!A2) in both the Project and Comm sheets and copied down as far as you want. The rows remain blank until you add to the Master sheet.

    You can do the same for the Active and M/F columns....

    But not sure if the other columns are manual entries or not...
    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
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Automatically update a couple of columns from master worksheet in other sheets

    I am not sure I follow. Where is the rest of the data (Project/Email data) coming from?

    To transfer the names, you can have something like:

    =IF(Master!A2="","",Master!A2) in both the Project and Comm sheets and copied down as far as you want. The rows remain blank until you add to the Master sheet.

    You can do the same for the Active and M/F columns....

    But not sure if the other columns are manual entries or not...

  4. #4
    Registered User
    Join Date
    05-14-2010
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Automatically update a couple of columns from master worksheet in other sheets

    Hi NBVC,

    Thanks for you help.

    Firstly, the data in the other columns on each of the subordinate will be manually entered, all I want is for the Names to be entered once on the Master sheet and then automatically populate across the rest of the sheets.

    I tried your solution, but when I then add a row (say between row 3 & 4, right-click and insert row) on the Master sheet it doesn't appear on the subordinate sheets. However it does appear when I add a row to the end of the list rather than inserting mid-way down the list.

    Perhaps trying to insert a row manually as described above could be my problem?

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

    Re: Automatically update a couple of columns from master worksheet in other sheets

    Try perhaps then:

    =IF(INDEX(Master!A:A,ROWS($A$1:$A2),0)="","",INDEX(Master!A:A,ROWS($A$1:$A2),0))

    copied down.

  6. #6
    Registered User
    Join Date
    05-14-2010
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Automatically update a couple of columns from master worksheet in other sheets

    Now we're somewhere!

    The only problem is that it duplicates all of the cells from the row above in the subordinate sheet in other words it copies the data from the cells immediately above the newly inserted row rather than leaving them blank?

    Cheers

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

    Re: Automatically update a couple of columns from master worksheet in other sheets

    I think you are going to need VBA then, if you want the actual rows in the subordinate sheets to shift around with insertions into the main sheet... Unfortunately, I'm not the guy for that... if you want VBA, we'll need to wait for an expert.

+ 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