+ Reply to Thread
Results 1 to 4 of 4

external link reference formula inside formula user input

  1. #1
    Registered User
    Join Date
    06-16-2012
    Location
    europe
    MS-Off Ver
    Excel 93/03
    Posts
    11

    external link reference formula inside formula user input

    Dear Excel Forum

    I am trying the write a formula within a formula, from linking data from another worksheet, using the date as a reference

    ie.

    in worksheet- file a 01 jan 2012.xls
    a1 = 100

    in worksheet- file a 02 jan 2012.xls
    a1 = 200

    in worksheet- file a 03 feb 2012.xls
    a1 = 300

    in worksheet- file a 04 feb 2012.xls
    a1 = 400


    in worksheet- link
    a1 ='c:\[file a 01 jan 2012.xls]sheet1'!$a$1 ,,, how to edit the file name as user input = 01 jan 2012 or 02
    jan 2012 ...
    =100


    or

    b1 = c:\
    c1 = file a
    d1 = 04 jan 2012
    e1 = .xls


    a1 = concatenate b1 + c1 + d1 + e1 ,,, how to create this formula
    = 400

    Thank you.

  2. #2
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: external link reference formula inside formula user input

    You need INDIRECT()
    http://www.contextures.com/xlFunctions05.html
    look at:

    Create a Reference To a Different Workbook

  3. #3
    Registered User
    Join Date
    06-16-2012
    Location
    europe
    MS-Off Ver
    Excel 93/03
    Posts
    11

    Re: external link reference formula inside formula user input

    Dear dewilk

    Thank you for your reply.

    But the problem is that the workbook[s] are closed.
    Is there any way round this, as I have to create links to more than 10 files (i could do a open.worksheet in the vba code, but this would open many workbooks)

  4. #4
    Registered User
    Join Date
    06-16-2012
    Location
    europe
    MS-Off Ver
    Excel 93/03
    Posts
    11

    Re: external link reference formula inside formula user input

    Dear excel forum,

    i have found the links to my answer
    its ... indirect() , pull()

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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