+ Reply to Thread
Results 1 to 5 of 5

MS2013 Using Indirect to get data from closed workbook

Hybrid View

  1. #1
    Registered User
    Join Date
    11-27-2012
    Location
    Copenhagen
    MS-Off Ver
    Excel 2010
    Posts
    4

    MS2013 Using Indirect to get data from closed workbook

    Hey guys can u help me here?

    I am using the indirect function to get data from another workbook, but when I write thw whole path of the workbook it dosent work. What do I do wrong?

    =INDIRECT("'C:\Users\abcd\Desktop\Test\[Test Trackingsheet2014.xlsx]TYC-011'!$D$90")

    thanks for your help and have a nice weekend, this site is awesome.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: MS2013 Using Indirect to get data from closed workbook

    Why do you think you need the INDIRECT function - that is a static reference. You can simply use:

    Formula: copy to clipboard
    'C:\Users\abcd\Desktop\Test\[Test Trackingsheet2014.xlsx]TYC-011'!$D$90
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    11-27-2012
    Location
    Copenhagen
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: MS2013 Using Indirect to get data from closed workbook

    Hi!

    Thanks for your answers I use indirect because parts of the reference is built up from other cells, I have just simplified it for the question. For instance I am using a mid() function to find the sheet name.

    Is there another way to build up a reference name and get data from a closed workbook?

    Regards

  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: MS2013 Using Indirect to get data from closed workbook

    Also, I assume you know that INDIRECT won't work if the source workbook is closed?

    Regards
    Click * below if this answer helped

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

  5. #5
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: MS2013 Using Indirect to get data from closed workbook

    You can use =indirect with a closed workbook using the morefunc add-in. See below.

    http://www.ashishmathur.com/tag/indirect-ext/

+ 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. Replies: 0
    Last Post: 03-27-2014, 12:38 PM
  2. INDIRECT function for closed workbook
    By BogdanH in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-14-2013, 02:50 PM
  3. Indirect and Closed Workbook
    By Bulvers in forum Excel General
    Replies: 3
    Last Post: 10-18-2011, 10:13 AM
  4. Indirect reference to closed workbook
    By Dingo0z in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 01-19-2008, 01:20 PM
  5. Indirect formula - Closed workbook
    By RichardBerry in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-07-2007, 07:32 AM

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