+ Reply to Thread
Results 1 to 6 of 6

Can't extend array linked to another excel file!?

  1. #1
    Registered User
    Join Date
    03-06-2013
    Location
    canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Can't extend array linked to another excel file!?

    Hi!

    I really hope someone can help me with this issue. I have an spreadsheet with MANY columns containing array formulas to display values from columns in another excel file. For example: {=if('file_path\file.xls'$A$2:$A$500="","",'file_path\file.xls'$A$2:$A$470}.

    Basically, when it would get close to the end of the array, I would insert rows in the source document (to which the arrays are linked), and it would expand the array formula, so instead of it going until row 500, I insert 100 rows and the array formula would work until row 600, and so forth. However, I'm trying to do it now and it's simply not working.

    Am I inserting the rows incorrectly? Or is there another way I could extend the array across many different columns without editing each one individually?

    THANK YOU SO MUCH!

    Howard

  2. #2
    Registered User
    Join Date
    08-06-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    68

    Re: Can't extend array linked to another excel file!?

    If you want to extend this part in your formula $A$2:$A$470 to $A$2:$A$600, you can do so by using Find and Replace. The keyboard shortcut is Ctrl+H. in the Find field input $A$2:$A$470 and in the Replace field $A$2:$A$600. This will replace everything, even if in a formula.

  3. #3
    Registered User
    Join Date
    03-06-2013
    Location
    canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Can't extend array linked to another excel file!?

    Hi Sinon05,

    Thanks for the quick reply. I just tried what you suggested and it doesn't extend the actual array. For example, the array on my sheet (file A) is active between rows 450 and 750 (300 rows) across many columns. So even if I use Find&Replace to fetch the data from rows 2 to 1000 of my source file (file B), it won't be on my sheet past row 750 (in file A).
    Would there be a way to lengthen the actual arrays in file A?

    Thanks again

    Howard

  4. #4
    Registered User
    Join Date
    08-06-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    68

    Re: Can't extend array linked to another excel file!?

    If what you want to do is apply the array formula to other rows, simply copy any cells with the formula and paste in the additional rows. Alternatively, you can use flash fill in the DATA tab

  5. #5
    Registered User
    Join Date
    03-06-2013
    Location
    canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Can't extend array linked to another excel file!?

    Hi Sinon05,

    Thanks for the help. That's exactly what I'd like to do. I might not be doing it correctly but when I copy/paste the formula into the additional rows following my array formula, it displays the values from the cells at the beginning of my source file (e.g. Cell A471 in File A should display data from A471 of the source file (File B) but is instead showing A2 from the source file again, as though the array formula is restarting). I also tried to drag & drop the previous rows with the arrays into the new rows and it gave me the same result.

    I know manually going into each array would probably work - edit each array individually and ctrl+shift+enter for each until row 600. However, I'm hoping to avoid having to do this as there are quite a few columns...

    Thanks again

    Howard

  6. #6
    Registered User
    Join Date
    08-06-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    68

    Re: Can't extend array linked to another excel file!?

    Try replacing $A$2 with A2. the dollar signs lock the cell in excel; for instance if you have $A2 in a formula, no matter where you apply the formula, it will always refer to column A. If you have A$2 in a formula, no matter where you apply the formula, it will always refer to row 2. So $A$2 always refers to cell A2 no matter where you apply it. Hope that helps

+ 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. When a chart is linked to another excel file
    By helpmeplease24 in forum Excel General
    Replies: 1
    Last Post: 07-28-2015, 12:12 PM
  2. External File extend Details in VB
    By lulupatel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-15-2015, 07:43 AM
  3. How to extend a changing multi cell array formula down a column.
    By Patrician in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-12-2013, 07:07 PM
  4. [SOLVED] sum(offset(... to linked file requires linked file to be open?
    By Oppressed1 in forum Excel General
    Replies: 5
    Last Post: 10-22-2012, 02:21 PM
  5. [SOLVED] In a linked calculation how do I lose the '0' in the linked file?
    By Anita in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-03-2006, 10:00 AM
  6. Excel File Linked in Access
    By nukeawhale in forum Excel General
    Replies: 1
    Last Post: 01-20-2006, 10:41 PM
  7. linking a file to another linked file in excel
    By buckeye in forum Excel General
    Replies: 1
    Last Post: 11-09-2005, 08:55 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