+ Reply to Thread
Results 1 to 4 of 4

Concatenate to create a filepath string and using indirect.ext to look up value

  1. #1
    Registered User
    Join Date
    11-15-2013
    Location
    Berkshire, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Concatenate to create a filepath string and using indirect.ext to look up value

    Hi

    I want to sheet that looks up values from external workbooks several times.

    I'd like to be able to have a cell for the filepath of the workbook and another for the filename.

    I'd use CONCATENATE to generate a string which creates the filepath and cell reference.

    Then pass that string into INDIRECT.EXT to return that value.

    Eg.

    D4 contains a filepath: P:\Projects\Project1\

    E4 contains a filename: Workbook.xlsx

    F4 contains the CONCATENATE function (I'd like to reference Cell C30 on Sheet called 'Data'): CONCATENATE("'",D4,"[",E4,"]Data'!$C$30")

    INDIRECT.EXT(F4) returns a #REF!

    Can anyone help?

    thanks
    Last edited by blakor; 11-18-2013 at 05:37 AM.

  2. #2
    Forum Contributor amit.wilson's Avatar
    Join Date
    07-09-2013
    Location
    Gotham
    MS-Off Ver
    Excel for Mac 2011
    Posts
    283

    Re: Concatenate to create a filepath string and using indirect.ext to look up value

    Hi - could it be because it needs to be INDIRECT.EXT(F4) and not F6?

    Or perhaps that'a typo in your message. Sorry, can't help more. :-)

    Cheers
    <-- If you're happy & you know it...click the star.:-)

  3. #3
    Registered User
    Join Date
    11-15-2013
    Location
    Berkshire, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Concatenate to create a filepath string and using indirect.ext to look up value

    Hi Amit - yep its a typo - thanks for spotting. I've amended it now.

  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: Concatenate to create a filepath string and using indirect.ext to look up value

    Hi,

    I personally don't have the INDIRECT.EXT Add-In installed on my machine, though, assuming it does not differ in syntax from the standard worksheet function INDIRECT, I can see nothing at all wrong with your formula.

    I can only suggest you re-check your cell entries in D4 and E4 and make sure they are correct, e.g. is the entry in D4 the full filepath? Is the extension still .xlsx, and not perhaps been (re-saved) as an .xls?

    Regards

    Regards
    Click * below if this answer helped

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

+ 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. Concatenate syntax for filepath
    By gtate@oop in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-25-2013, 06:20 PM
  2. [SOLVED] Create calc formula with INDIRECT and CONCATENATE
    By FixandFoxi in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-28-2012, 05:53 AM
  3. [SOLVED] Copying files from a selected filepath to a filepath mentioned in a worksheet's cell
    By subbby in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-10-2012, 03:59 PM
  4. Monthly string in filepath
    By TonyforVBA in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-07-2010, 03:11 PM
  5. Create filepath if it's not available
    By StephanieH in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-08-2005, 02:40 PM

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