+ Reply to Thread
Results 1 to 3 of 3

Piece together a formulae with text

Hybrid View

  1. #1
    Registered User
    Join Date
    12-08-2007
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    53

    Piece together a formulae with text

    Hi. I am sure this has been asked
    I have a spreadsheet with external Links such as below

    VLOOKUP(B2,'C:\Users\Stephen\Downloads\[TEST1.xlsx]Sheet1'!$A$2:$B$17,2,FALSE)

    What I want to do replace the TYPE1.xlsx with say a cell value so I can just type say TEST2 in a cell $D$2 and it will tell all the formulas to use the TEST2.xlsx

    Example VLOOKUP(B2,'C:\Users\Stephen\Downloads\[$D$2.xlsx]Sheet1'!$A$2:$B$17,2,FALSE) it would help if this can apply to the path as well so i can keep the path in cell $c$2 and retype that in as well.

    thanks in advance

    PS is there a way to update a spreadsheet after updating the link without opening it. I.e a sort of right click and update

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,108

    Re: Piece together a formulae with text

    VLOOKUP(B2,indirect("'C:\Users\Stephen\Downloads\["&$D$2&".xlsx]Sheet1'!$A$2:$B$17"),2,FALSE)

    VLOOKUP(B2,indirect("'"&$C$2&$D$2&".xlsx]Sheet1'!$A$2:$B$17"),2,FALSE)

    But you would need to have
    "C:\Users\Stephen\Downloads\["

    without the quotes in $C$2

    note the open bracket [

    you could add that into the formula
    Last edited by etaf; 05-09-2014 at 05:34 PM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Piece together a formulae with text

    Please note that INDIRECT() does not work on closed workbooks. You could try the add-in from MoreFunc for that
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. [SOLVED] Searching TEXT in formulae, rather than results of formulae
    By AndyE in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  2. [SOLVED] Searching TEXT in formulae, rather than results of formulae
    By AndyE in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  3. Searching TEXT in formulae, rather than results of formulae
    By Niek Otten in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 04:05 AM
  4. [SOLVED] Searching TEXT in formulae, rather than results of formulae
    By AndyE in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  5. [SOLVED] Searching TEXT in formulae, rather than results of formulae
    By AndyE in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 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