+ Reply to Thread
Results 1 to 7 of 7

Have secondary sheets mirror master sheet

  1. #1
    Registered User
    Join Date
    03-05-2015
    Location
    Kelowna, Canada
    MS-Off Ver
    Excel 2010
    Posts
    23

    Have secondary sheets mirror master sheet

    Good Morning,

    Currently I have one master sheet of employees. Every time I update this sheet I want the rest of the sheets to update with as well. This means I am constantly adding and removing columns.

    I am currently using this formula:

    =IF(OFFSET('Staff List'!$A$1,ROW(A1)-1,COLUMN(A1)-1)=0,"",OFFSET('Staff List'!$A$1,ROW(A1)-1,COLUMN(A1)-1))

    However it only mirrors the values. I need to have the formatting mirrored as well.

    I realize that I need to use VBA as formulas are not complex enough.Example.xlsx

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Have secondary sheets mirror master sheet

    I don't understand what you want.
    Your attachment doesn't show which cells you want to mirror. Lots of the formulas on that sheet reference a different workbook, Costed Schedule V2.xlsx


    In general, a formula like

    =VLOOKUP("cat", Sheet1!$A:B, COLUMN(Sheet1!B:B), False)

    will drag and adjust to column insertion and deletion properly.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Registered User
    Join Date
    03-05-2015
    Location
    Kelowna, Canada
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Have secondary sheets mirror master sheet

    I want Column A and Column B in the "Schedule" Sheet to mirror Column A and Column B from the "Staff List" sheet.

    If I insert a row (or employee) under the "serve" section on the "Staff List" sheet, I want that new row to show up in the "Schedule" sheet. Because they are grouped in sections I want the formatting to follow.

  4. #4
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Have secondary sheets mirror master sheet

    In Schedule!A1, put the formula =INDEX('Staff List'!A:A,ROW(A1)) and drag the formula down and right.

    If you want something absolutely fully automatic, you could put this code in the sheet module for 'Staff List' sheet
    Please Login or Register  to view this content.
    One conceptual problem you have is that if you have data in Schedule! column C, e.g. "a", "b", "c" are in A3:C3, and you insert a row into Staff List (e.g. row2) , that column C entry will now be in a different row (e.g. "a" and "b" will be in row 4 while "c" is still in row 3)

  5. #5
    Registered User
    Join Date
    03-05-2015
    Location
    Kelowna, Canada
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Have secondary sheets mirror master sheet

    Thank you for this, HUGE help!

    Is there any way around this conceptual problem?

  6. #6
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Have secondary sheets mirror master sheet

    If Schedule is for viewing only, with no data entered on that sheet. You could put it far to the right on Staff List and then either split screen or mirror the far right section on a different sheet.

  7. #7
    Registered User
    Join Date
    03-05-2015
    Location
    Kelowna, Canada
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Have secondary sheets mirror master sheet

    Thank you

+ 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. Master sheet to split sheets back to another master sheet
    By FurRelKT in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-24-2017, 02:08 PM
  2. [SOLVED] Auto Fill Secondary Sheets from Master Sheet based on values in a colum
    By hfcamper in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-26-2013, 09:04 AM
  3. Replies: 4
    Last Post: 04-25-2013, 06:18 PM
  4. [SOLVED] Copy rows in a master sheet to correct 'secondary' worksheets
    By figaro57 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-09-2013, 10:31 PM
  5. Master Sheet to Mirror Designated Sub Sheets
    By TJetset in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-03-2013, 08:14 PM

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