+ Reply to Thread
Results 1 to 6 of 6

typ formula as text and use afterwards as function

  1. #1
    Registered User
    Join Date
    03-25-2015
    Location
    brussels
    MS-Off Ver
    2010
    Posts
    3

    typ formula as text and use afterwards as function

    Hi all,

    I want to make a dynamic section in a formula/link.

    for example, I want a Vlookup/ datalink to this file: C:\Users\*****\Documents\[January.xlsx]Sheet2'!$C$27

    but I want to have the name of the user + the month variable to easy change ( I dont want to go through edit links, as this is not function anymore)

    so what I would like to have is to have the destination in a separate cell with the user & month linked to dropdown lists, all this I know how to do to display the text as I want to have the location.

    but when I would like to really use this link it doesn't work. for example the text with dynamic function C:\Users\*****\Documents\[January.xlsx]Sheet2'!$C$27 is typed in cell A1 and in cell A2 I really want to have the value, so I tought to type =A1 or ='A1'. but all this doesn't work.

    does somebody has an idea how this can be solved?

    thanks!

  2. #2
    Registered User
    Join Date
    12-11-2014
    Location
    Dallas, TX
    MS-Off Ver
    2010
    Posts
    94

    Re: typ formula as text and use afterwards as function

    I'm not sure I exactly follow what you're asking, but try:

    =INDIRECT(A1)
    If I have helped you, please add to my reputation!

  3. #3
    Registered User
    Join Date
    03-25-2015
    Location
    brussels
    MS-Off Ver
    2010
    Posts
    3

    Re: typ formula as text and use afterwards as function

    Thanks Npatridge,

    to make it more clear I would like to type this in A1 -> 'C:\Users\*****\Documents\[January.xlsx]Sheet2'!$C$27 and in A2 I just want to have the real link to that cell so it should take forumula ='C:\Users\*****\Documents\[January.xlsx]Sheet2'!$C$27 but linked to the text in A1 so I can make dynamic fields in this.

    when I try the indirect formula I have #ref! error

  4. #4
    Registered User
    Join Date
    12-11-2014
    Location
    Dallas, TX
    MS-Off Ver
    2010
    Posts
    94

    Re: typ formula as text and use afterwards as function

    Can you post a sample sheet for me?

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: typ formula as text and use afterwards as function

    Unfortunately, INDIRECT doesn't work on closed workbooks.

    You'd have to install the Morefunc.dll addin (search google and sift through a bunch of junk to find it)

  6. #6
    Registered User
    Join Date
    03-25-2015
    Location
    brussels
    MS-Off Ver
    2010
    Posts
    3

    Re: typ formula as text and use afterwards as function

    Yes that's the problem formula works only when all files are open.

    attached is the sample file ( with just 1 simple variable).

    is there any other option than downloading the additional freeware?

    thanks
    Attached Files Attached Files

+ 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] Concatenate formula with If and Text function
    By nd2828 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-20-2014, 04:37 AM
  2. Want function/formula to get bold text from one cell to another
    By Shweta.Kapdekar in forum Excel General
    Replies: 3
    Last Post: 04-22-2012, 02:25 PM
  3. Formula or function for numbers to text
    By Kevingardner1 in forum Excel General
    Replies: 2
    Last Post: 11-08-2011, 11:52 AM
  4. [SOLVED] What function in a formula will pull the text used in a Tab name?
    By Charles Rodriguez in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-05-2005, 01:05 PM
  5. Function within a TEXT FORMULA
    By SteveFil in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-04-2005, 01:06 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