+ Reply to Thread
Results 1 to 10 of 10

Skip Multiple Rows when copying formula

  1. #1
    Registered User
    Join Date
    07-25-2013
    Location
    USA, USA
    MS-Off Ver
    Excel 2010
    Posts
    14

    Skip Multiple Rows when copying formula

    PLEASE HELP!!!!!

    New to forum - much appreciation in advance.

    I have a linked formula tying spreadsheets together. The layout of the second sheet is different than that of the base sheet so I need to formula to skip 3 rows at a time from the base sheet.

    Here is the linking formula in column B of the second sheet:
    ='[Inventory PLUS.xlsx]Sheet1'!A5


    In the very next row of the second sheet I need it to pull from 3 rows down from the base sheeet (A8), or more precisely ='[Inventory PLUS.xlsx]Sheet1'!A8

    In the next subsequent rows I need the formula to pull from (A11,A14,A17) always adding 3 rows from the base sheet each row moved down on the second sheet.

    So, in essence I want my B column to go as followed:
    B1 ='[Inventory PLUS.xlsx]Sheet1'!A5
    B2 ='[Inventory PLUS.xlsx]Sheet1'!A8
    B3 ='[Inventory PLUS.xlsx]Sheet1'!A11
    B4 ='[Inventory PLUS.xlsx]Sheet1'!A14

    and so on and so fourth, continuing down the sheet as there are a lot of different inventory and I am always adding more parts.

    - If you have any input, it would be greatly appreciated.

    Being that this is my first post I know I may have to explain better but any info you could send me would be greatly appreciated.
    Last edited by rbexcel; 07-26-2013 at 01:16 AM.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Skip Multiple Rows when copying formula

    I believe you are referring to external reference to other workbook, so please confirm us whether the file will be in OPEN or will be in CLOSED mode?


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Skip Multiple Rows when copying formula

    if the file is open
    Please Login or Register  to view this content.
    ^^ this will give you A5
    fill down for a8, a11, etc
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Registered User
    Join Date
    07-25-2013
    Location
    USA, USA
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Skip Multiple Rows when copying formula

    I apologize, but I do not know what you mean by "open" or "close" mode?

    You are correct, I am referring to an external reference.
    I have created the first external reference in cell B1, this reads: ='[Inventory PLUS.xlsx]Sheet1'!A5

    When I try to drag it down Column B it reads as follows:
    cell B1: '[Inventory PLUS.xlsx]Sheet1'!A5
    cell B2: '[Inventory PLUS.xlsx]Sheet1'!A6
    cell B3: '[Inventory PLUS.xlsx]Sheet1'!A7
    cell B4: '[Inventory PLUS.xlsx]Sheet1'!A8

    But the problem is, in my base worksheet, the values i'm trying to extract are constantly 3 rows apart. So I need the Cells in Column B to = the following

    cell B1: '[Inventory PLUS.xlsx]Sheet1'!A5
    cell B2: '[Inventory PLUS.xlsx]Sheet1'!A8
    cell B3: '[Inventory PLUS.xlsx]Sheet1'!A11
    cell B4: '[Inventory PLUS.xlsx]Sheet1'!A13

    (each 3 rows apart)

    I hope that is a better explanation

    Thanks again for your help

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Skip Multiple Rows when copying formula

    If the file is open then make use of the formula suggested by humdingaling in post #3

  6. #6
    Registered User
    Join Date
    07-25-2013
    Location
    USA, USA
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Skip Multiple Rows when copying formula

    WOW thats perfect!!! thanks so much - I will have to read up on INDIRECT functions.

    One q - if the "base" worksheet is closed - will this indirect function still work or do both spreadsheets have to be open at the same time always?

  7. #7
    Registered User
    Join Date
    07-25-2013
    Location
    USA, USA
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Skip Multiple Rows when copying formula

    After messing around with the spreadsheets, I see that the INDIRECT function only works when the "base" sheet is open as well.

    Would either of you know the correct function to use, if I would like to have it usable even when the "base" sheet is closed?

    That is what I prefer - but I'm not sure if that's even possible??

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Skip Multiple Rows when copying formula

    Make use of Indirect.Ext function of Morefunc Addin which will work with closed workbooks too...

    Do a google search for downloading Morefunc Addin

  9. #9
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Skip Multiple Rows when copying formula

    sixth nailed it on the head
    indirect only works when workbook is open

    a different way of doing it
    link the cells for about 3-4
    goto the cell and take the "=" away
    this will leave just the text for the link ...with this you can fill down to create the pattern

    then have adjacent cell...ie in B1 ="='"&A1
    fill down
    copy and paste special values
    now highlight the cells Find "=" and replace with "="

    sounds like a lot but when you actually do it...its not that much

  10. #10
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Skip Multiple Rows when copying formula

    essentially what ^^ does
    breaks down formula into text
    fill based on text
    reconstruct text into formula and refresh

+ 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. Excel formula skip rows help!
    By crash884 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-19-2013, 08:15 AM
  2. Replies: 0
    Last Post: 11-08-2012, 01:07 PM
  3. Formula/Macro for copying, skip empty cells
    By joscar in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-16-2011, 06:04 PM
  4. Formula issue: multiple rows referencing one row-copying
    By jakrabbit in forum Excel General
    Replies: 2
    Last Post: 10-28-2010, 09:09 AM
  5. skip 'n' rows when copying formula
    By mksnyder in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-08-2007, 02:53 PM

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