+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Reference every other row on a different sheet

  1. #1
    Forum Contributor
    Join Date
    07-19-2010
    Location
    Huddersfield, UK
    MS-Off Ver
    Excel 2007, 2010
    Posts
    167

    Reference every other row on a different sheet

    I have 2 sheets, on the 1st sheet, I want to add in a fomula and be able to drag down to reference the 2nd sheet, and every other row.

    So I want the formula's to do this...

    sheet1, cell A1, reference sheet2 cell A1
    sheet1, cell A2, reference sheet 2 cell A3
    sheet1, cell A3, reference sheet 2 cell A5
    sheet1, cell A4, reference sheet 2 cell A7....

    etc - so I can pull it down and it will continue to reference every other row as above.


    Any help would be greatly appreciated - I've spent all morning searching around for ways to do it, but none seem quite right!!

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Reference every other row on a different sheet

    Use INDEX

    Sheet1!A1
    =INDEX(Sheet2!A:A,(2*ROWS(A$1:A1))-1)
    copied down

  3. #3
    Forum Contributor
    Join Date
    07-19-2010
    Location
    Huddersfield, UK
    MS-Off Ver
    Excel 2007, 2010
    Posts
    167

    Re: Reference every other row on a different sheet

    This seems to work fine, however I need it to start a few lines down... (I thought this would be a simple case of amending the row/column labels in the fomula, but I can't work that out either...)

    so the cell where the formula needs to start on sheet1 is B127, and it needs to reference sheet2, C6

    Could you please explain the INDEX formula you provided, so I can edit it accordingly?

    Thanks

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Reference every other row on a different sheet

    Quote Originally Posted by dancing-shadow
    so the cell where the formula needs to start on sheet1 is B127, and it needs to reference sheet2, C6
    Perhaps simpler to follow if you revert to:

    Sheet1!B127:
    =INDEX(Sheet2!C:C,6+2*(ROWS(B$127:B127)-1))

    So the increment from row 6 will be 0,2,4,6 etc as the formula is copied down.

+ 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.6.0 RC 1