+ Reply to Thread
Results 1 to 6 of 6

Call every nth cell from another sheet

  1. #1
    Registered User
    Join Date
    10-27-2013
    Location
    slovenia
    MS-Off Ver
    excel 2013
    Posts
    8

    Call every nth cell from another sheet

    Hi!

    I want to call cells J10,J15,J20,.. from Sheet1 to Sheet2 in one ROW.

    1st problem is, that I can even call every 5th cell and collect them in 1 column and 2nd problem is to put all this in ROW.

    Example
    sheet1
    J5
    J6
    J7
    J8
    J9
    J10
    J11
    J12
    J13
    J14
    J15
    J16
    J17
    J18
    J19
    J20
    ...

    Now I would like to get this only with copy of formula through the row

    J5 J10 J15 J20 ...

    Thanks for help
    Jan

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Call every nth cell from another sheet

    =INDEX(Sheet1!$J$5:$J$1000,COLUMNS($A$1:A1)*5-4) filled across will give j5,j10,j15.......
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    10-27-2013
    Location
    slovenia
    MS-Off Ver
    excel 2013
    Posts
    8

    Re: Call every nth cell from another sheet

    it doesnt work, but it might be close to solution.

    what is this array in "COLUMNS($A$1:A1)*5-4 maybe is problem in this A1 cell, because I do not know what it sould do

    Thanks

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Call every nth cell from another sheet

    It works for me.

    In what way does it not work for you?

    Put that formula in any cell
    =INDEX(Sheet1!$J$5:$J$1000,COLUMNS($A$1:A1)*5-4)
    It returns the value in J5 of Sheet1.

    Drag it accross the row to the right, it returns J10 J15 J20 etc..

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Call every nth cell from another sheet

    of course it works
    see attached see sheet 2
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    10-27-2013
    Location
    slovenia
    MS-Off Ver
    excel 2013
    Posts
    8

    Re: Call every nth cell from another sheet

    Ok it works, I made mistake.

    Thanks a lot!!

+ 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. Call cell value from other sheet based on condition (Complicated)
    By hecgroups in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-25-2013, 08:22 AM
  2. Copy Value of cell to call sheet name
    By rbpd5015 in forum Excel General
    Replies: 3
    Last Post: 08-03-2011, 03:15 AM
  3. Use VBA to call hyperlink where Cell data is name of sheet?
    By shannonvhm in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-25-2009, 12:45 PM
  4. Replies: 2
    Last Post: 10-06-2009, 06:21 AM
  5. How can I call a cell value from another sheet?
    By omid020 in forum Excel General
    Replies: 2
    Last Post: 02-24-2009, 10:45 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