+ Reply to Thread
Results 1 to 13 of 13

Mirror named range on other worksheet

  1. #1
    Registered User
    Join Date
    10-10-2012
    Location
    Arizona
    MS-Off Ver
    Excel 2003
    Posts
    49

    Mirror named range on other worksheet

    Is there a way to name a range (such as an entire column, or set of columns) and have it mirrored on another worksheet?

    For example, if I change something within the range on Sheet1, the change would be mirrored on sheet2.

    Please no macros. Formulas please.

    Thanks in advance!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,962

    Re: Mirror named range on other worksheet

    For example, if I change something within the range on Sheet1, the change would be mirrored on sheet2.
    This would not be related to a range name. All you need to do is reference the data on sheet 1 to sheet2....something =sheet1!A1

    (Thats IF I understand you correctly?)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    10-10-2012
    Location
    Arizona
    MS-Off Ver
    Excel 2003
    Posts
    49

    Re: Mirror named range on other worksheet

    Not quite. If I use that method than if I make a change in the future (i.e. add an extra row to the named range) than it will not be reflected in sheet 2. I would have to go through the cumbersome process of creating that reference every time I made a change.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,962

    Re: Mirror named range on other worksheet

    Then use the INDIRECT() reference method...

    =indirect("sheet1!A"&row(a1))

  5. #5
    Registered User
    Join Date
    10-10-2012
    Location
    Arizona
    MS-Off Ver
    Excel 2003
    Posts
    49

    Re: Mirror named range on other worksheet

    I'm not familiar with this method. Can you please elaborate on how it works? Thank you! An example with a named reference would be so helpful.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,962

    Re: Mirror named range on other worksheet

    I did provide a sample formula.

    INDIRECT() takes tedxt and converts in into something excel can use in a formula, and in effect produses an "absolute" reference, the difference being that it will not change if rows are inserted/deleted.

    So on sheet1 A5, if you had =indirect("'sheet 2'!A5"), that would return the valuie of sheet 2 A5, no matter what you did on sheet 2

    If you add a row after row 3, (so that row 4 is now row 5, it will reference what is in (the old) row 4

  7. #7
    Registered User
    Join Date
    10-10-2012
    Location
    Arizona
    MS-Off Ver
    Excel 2003
    Posts
    49

    Re: Mirror named range on other worksheet

    Thank you for an explained example. However, for my purposes this accomplishes that same thing as doing what you first suggested.

    Let me reword. Is there a way to have sheet 1:columns A + B reflect everything (including changes) from sheet 2 columns A + B?

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,962

    Re: Mirror named range on other worksheet

    upload a sample workbook, showing examples of your data, and your expected outcome

  9. #9
    Registered User
    Join Date
    10-10-2012
    Location
    Arizona
    MS-Off Ver
    Excel 2003
    Posts
    49

    Re: Mirror named range on other worksheet

    Book1.xlsx

    There you go

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,962

    Re: Mirror named range on other worksheet

    Based on your sample, try this in sheet1 A1, copied down...
    =IF(INDIRECT("'sheet2'!A"&ROW(A1))=0,"",INDIRECT("'sheet2'!A"&ROW(A1)))
    and for B...
    =IF(INDIRECT("'sheet2'!B"&ROW(A1))=0,"",INDIRECT("'sheet2'!B"&ROW(A1)))

  11. #11
    Registered User
    Join Date
    10-10-2012
    Location
    Arizona
    MS-Off Ver
    Excel 2003
    Posts
    49

    Re: Mirror named range on other worksheet

    Perfect! Thanks!

  12. #12
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Mirror named range on other worksheet

    Quote Originally Posted by FDibbins View Post
    Based on your sample, try this in sheet1 A1, copied down...
    =IF(INDIRECT("'sheet2'!A"&ROW(A1))=0,"",INDIRECT("'sheet2'!A"&ROW(A1)))
    and for B...
    =IF(INDIRECT("'sheet2'!B"&ROW(A1))=0,"",INDIRECT("'sheet2'!B"&ROW(A1)))
    ROW(A1) is vulnerable for row insertion. Use this instead ROWS(A$1:A1)

  13. #13
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,962

    Re: Mirror named range on other worksheet

    teethless...
    Don't quote whole posts -- it's just clutter. If you are responding to a post out of sequence, limit quoted content to a few relevant lines that makes clear to whom and what you are responding.

+ 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. Copy text from set range in one worksheet to named worksheet in another workbook
    By Steven811 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-25-2013, 10:55 AM
  2. Assign named range in worksheet to combo box
    By AppSupportKarl in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-15-2011, 06:38 AM
  3. Named Range : refer to Current WorkSheet
    By plitv001 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-01-2008, 07:13 PM
  4. create named range specific to worksheet
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-28-2005, 12:05 PM
  5. [SOLVED] referring to a named range on another worksheet
    By Virginia in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-28-2005, 08:06 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