+ Reply to Thread
Results 1 to 7 of 7

Thread: Link two columns with updating

  1. #1
    Registered User
    Join Date
    11-17-2011
    Location
    Ottawa
    MS-Off Ver
    Excel 2003
    Posts
    18

    Link two columns with updating

    Hi all. I am currently working on a workbook with multiple worksheets. One of them, sheet A, has all the data. I would like sheet B to be a summary page with only the most important columns from sheet A.

    The problem is, when you link cells normally (i.e. on sheet B, cell $A$1 would equal SheetA!A1, and that value would be pulled down the column), inserting and deleting rows is not reflected on the linked column.

    I was wondering if there was an easy (or not so easy) excel or vba solution, so that if I insert a row in column A of sheet A, the row would be inserted in column A of sheet B as well.

    Thanks a lot!
    Last edited by touchofknowledge; 12-15-2011 at 06:26 PM.

  2. #2
    Forum Guru TMShucks's Avatar
    Join Date
    07-15-2010
    Location
    Manchester, England
    MS-Off Ver
    MSO 2003 & 2007
    Posts
    6,230

    Re: Link two columns with updating

    You can perhaps use VLOOKUP or SUMIF or SUMIFS.

    No idea really based on what little information you have provided.

    You may want to post a sample workbook and a more detailed description of what you want the output to look like.

    Regards, TMS

  3. #3
    Registered User
    Join Date
    11-17-2011
    Location
    Ottawa
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: Link two columns with updating

    Here's an example
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-17-2011
    Location
    Ottawa
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: Link two columns with updating

    And by insert, of course, I simply mean right clicking on column 5 (or whichever column) and clicking insert. I would like for that same row to be inserted on sheet B.

  5. #5
    Forum Guru TMShucks's Avatar
    Join Date
    07-15-2010
    Location
    Manchester, England
    MS-Off Ver
    MSO 2003 & 2007
    Posts
    6,230

    Re: Link two columns with updating

    Try:

    A2: =IF(ROW($A2)>MATCH(REPT("Z",255),SheetA!$A:$A),"",INDEX(SheetA!A:A,ROW(A2))) ... and copy down

    B2: =IF(ROW($A2)>MATCH(REPT("Z",255),SheetA!$A:$A),"",INDEX(SheetA!D:D,ROW(A2))) ... and copy down and across.


    Regards, TMS

  6. #6
    Registered User
    Join Date
    11-17-2011
    Location
    Ottawa
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: Link two columns with updating

    That's excellent, thank you!

  7. #7
    Forum Guru TMShucks's Avatar
    Join Date
    07-15-2010
    Location
    Manchester, England
    MS-Off Ver
    MSO 2003 & 2007
    Posts
    6,230

    Re: Link two columns with updating

    You're welcome. Thanks for the rep.

    Regards, TMS

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0