+ Reply to Thread
Results 1 to 4 of 4

Convert text to formula

  1. #1
    Registered User
    Join Date
    09-22-2011
    Location
    Zimbabwe
    MS-Off Ver
    Excel 2003
    Posts
    2

    Convert text to formula

    I understand that you can convert a text string to an excel formula using the INDIRECT keyword.

    I am constructing a rather complex equation which I want to work as I add new data. I am constructing the equation using the ADDRESS keyword and end up with a text version of the ultimate equation (which works when I copy and paste-value putting an = in front).

    When I use the INDIRECT keyword I cannot get it to work.

    Any help would be appreciated.

    Duncan
    Attached Files Attached Files
    Last edited by Zim; 09-23-2011 at 03:58 AM.

  2. #2
    Valued Forum Contributor Miraun's Avatar
    Join Date
    04-03-2009
    Location
    New England
    MS-Off Ver
    2003, 2007, 2010, 2013
    Posts
    554

    Re: Convert text to formula

    Not quite with indirect... Indirect is used when you're trying to reference another cell that appears as text, doesn't quite work for equations.

    http://www.excelforum.com/excel-gene...selection.html

    That thread has a similar problem to it, and the solution was basically implementing the Evaluate command within VBA to assist.
    Going for Guru! Click the Star to the bottom left of this post if I helped!

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Convert text to formula

    Hi,

    You are misunderstanding the use of INDIRECT(). It does not work in the way you seem to think it does. i.e. it does not convert text equation strings to formulas.

    It allows you to use text, which refers to a reference - but check out the standard Excel help on the function.

    Regards
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    09-22-2011
    Location
    Zimbabwe
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Convert text to formula

    Thanks Miraun. Problem solved.

+ 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