+ Reply to Thread
Results 1 to 4 of 4

Repeating a sequence

  1. #1
    Registered User
    Join Date
    10-28-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    2

    Repeating a sequence

    Apologies if this is straight forward, have been attempting to find a solution but its stumped me for 3 hours, its getting late and I'm working to a tight deadline.

    I have a set of data in worksheet which is fairly complex, produced by someone else and its laid out in a fashion that it doesn't assist me.

    I've opened a second worksheet on sheet 2 and I've tried pulling the relevant data through.

    In short, I would like to bring cells A5, A10, A15, A20 and repeated for several hundred more cells, all increasing by 5, from sheet one to sheet 2


    I thought this would be easy, namely on sheet 2 I did in the first four cells

    =Sheet1!A5
    =Sheet1!A10
    =Sheet1!A15
    =Sheet1!A20

    I then highlighted and dragged expecting the sequence to continue - however the next in sequence, much to my dismay is

    =Sheet1!A9
    =Sheet1!A14

    Instead of the desired

    =Sheet1!A25
    =Sheet1!A30 and so on for several hundred more entries

    Can someone point me in the right direction, sure there is a simple solution but struggling to find it

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Repeating a sequence

    Try this formula in B2 copied down

    =INDEX(Sheet1!A:A,ROWS(B$2:B2)*5)
    Audere est facere

  3. #3
    Valued Forum Contributor
    Join Date
    03-25-2004
    Location
    Boston, MA US
    Posts
    1,094

    Re: Repeating a sequence

    Hi,

    Insert a header in coluumn A in Sheet1 and where you want it returned enter this formula.

    =OFFSET(Sheet1!$A$1,ROW($A$5)*ROW(A1),0)

    If you cannot put a header in then:

    =OFFSET(Sheet1!$A$1,ROW($A$5)*ROW(A1)-1,0)
    HTH
    Steve

  4. #4
    Registered User
    Join Date
    10-28-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Repeating a sequence

    You Sir, are a gentlemen and a genius - when I finally win the european lottery I will shower you with gold and lots of female daddylonglegs.

    During the intrim you have my sincere thanks as it was driving me crazy

+ 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