+ Reply to Thread
Results 1 to 6 of 6

Index Match Function Within One Workbook Referencing Cells in Another workbook error

  1. #1
    Registered User
    Join Date
    02-13-2014
    Location
    FL, United States
    MS-Off Ver
    Excel 2007
    Posts
    33

    Post Index Match Function Within One Workbook Referencing Cells in Another workbook error

    Hi everyone!

    I have a indexmatch function running in one of my workbooks that references cells in another workbook. The function works perfectly when the other workbook is open. However, once the workbook is closed it displays a #REF! error. I have automatic update of links turned on but I keep getting this error. Any help would be very much appreciated. Thanks

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Index Match Function Within One Workbook Referencing Cells in Another workbook error

    Hi,

    All other explanations being accounted for, INDEX and MATCH alone should not fail on a closed workbook. Are these the only functions in the formula?

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    02-13-2014
    Location
    FL, United States
    MS-Off Ver
    Excel 2007
    Posts
    33

    Re: Index Match Function Within One Workbook Referencing Cells in Another workbook error

    Hi XOR LX!

    Here is the formula I've used

    =IF($E$6="","",INDEX('HYIA fleet avionics.xlsx'!Table1[AUDIO],MATCH($E$6,'HYIA fleet avionics.xlsx'!Table1[Aircraft],0)))

    Once the workbook is closed (HYIA fleet avionics the links automatically update to

    =IF($E$6="","",INDEX('C:\Documents and Settings\mx\Desktop\MRO Projects\HYIA fleet avionics.xlsx'!Table1[AUDIO],MATCH($E$6,'C:\Documents and Settings\mx\Desktop\MRO Projects\HYIA fleet avionics.xlsx'!Table1[Aircraft],0)))

    but I still get the #REF! error in the cell of the other workbook. As long as the workbook is open, it works but I'd like it to work otherwise as well. Thanks!

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Index Match Function Within One Workbook Referencing Cells in Another workbook error

    And is the "Documents and Settings" to which that path refers yours (i.e. the Documents and Settings for your PC/laptop), or someone else's?

    Regards

  5. #5
    Registered User
    Join Date
    02-13-2014
    Location
    FL, United States
    MS-Off Ver
    Excel 2007
    Posts
    33

    Post Re: Index Match Function Within One Workbook Referencing Cells in Another workbook error

    Hi XOR LX!

    I managed to figure it out. The issue was with the table referencing! When referencing closed workbooks, specific ranges have to be mentioned in the formula for it to work. The table referencing returns the #REF! error when the workbook is closed. I've switched to using Vlookup instead as the only reason I used Index Match was to allow me to insert columns and rows within the table and automatically still maintain accurate results with the referencing. Since I can't do that, I switched to using Vlookup instead. It still doesn't give me that functionality but atleast the formula is slightly shorter!

    Regards

  6. #6
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Index Match Function Within One Workbook Referencing Cells in Another workbook error

    Ah, yet another reason to add to my list of why I don't use Structured References, then!

    Thanks for getting back to me and explaining it. I have to say that I can't believe you can't adapt the formula to use INDEX/MATCH as well, though?

    Regards

+ 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. Index/Match lookup in another workbook.
    By Mike_Taylor16 in forum Excel General
    Replies: 10
    Last Post: 06-29-2012, 10:08 AM
  2. INDEX & MATCH data from other workbook
    By faffol in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-30-2012, 06:16 AM
  3. Referencing a Workbook by Index
    By jamsta1972 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-02-2011, 06:47 PM
  4. Replies: 4
    Last Post: 09-23-2011, 03:41 PM
  5. referencing workbook from cells in another workbook
    By jlejehan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-03-2006, 10:24 AM

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