+ Reply to Thread
Results 1 to 4 of 4

select every nth cell from a different sheet

  1. #1
    Registered User
    Join Date
    10-03-2012
    Location
    Romania
    MS-Off Ver
    Excel 2003
    Posts
    20

    select every nth cell from a different sheet

    I know that this is probably easy, but I can't find the right formula, so please a little help.

    I have 2 sheets. I need the in cell E4(sheet 1) to have the value from B3(sheet 2), then for cell E5(sheet 1) to have the value from H3(sheet 2) and so on. basically from sheet 2 i need every 6th value: B3, H3, N3 etc.

    How do i do that? INDEX, INDIRECT?

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: select every nth cell from a different sheet

    hi there, welcome to the forum. try this in E4:
    =INDEX(Sheet2!$B$3:$N$3,1+(ROW(A1)-1)*6)

    do note that the part in bold should be your whole range you need to capture. i'm just doing an example up to Column N as you stated.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    10-03-2012
    Location
    Romania
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: select every nth cell from a different sheet

    @benishiryo Thanks a lot, it worked with a few modifications =INDEX(Data!$B3:$BC3,1+(COLUMN(A1)-1)*6)


    The problem now is that when i drag it, it modifies the row, not the column. so when i drag it, i have:

    =INDEX(Data!$B3:$BC3,1+(COLUMN(A1)-1)*6)
    =INDEX(Data!$B4:$BC4,1+(COLUMN(A1)-1)*6)

    instead of:

    =INDEX(Data!$B3:$BC3,1+(COLUMN(A1)-1)*6)
    =INDEX(Data!$C3:$BD3,1+(COLUMN(A1)-1)*6) - which is what i need

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: select every nth cell from a different sheet

    You do not need relative references for the formula to work.

    benishiryo's fomrula works ....and as in his formula suse absolute refernces i.e with two dollar signs as in $A$1 etc

    The only relative reference would be Row(A1) which will change to Row(A2), Row(A3) and so on thereby skipping 6 columns (due to ROW(A1)-1)*6) every time you drag down
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ 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