+ Reply to Thread
Results 1 to 2 of 2

how to convert text into a formula

  1. #1
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    665

    how to convert text into a formula

    I've got a huge workbook which I'm trying to make more efficient, by eliminating as many INDIRECT and other volatile formulas as possible.

    I've attached a small piece of it, showing my existing INDIRECT formula, and an attempted solution in which I use CONCAT (which doesn't create a working formula but rather shows it as text).

    Normally I'd just manually point the cell directly to the worksheet where the desired # is, but I have 95 worksheets (all same layout) and am hoping for a non-volatile formula-based solution.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: how to convert text into a formula

    VBA provides an Evaluate(string) function that does what you want but it is not directly accessible from the worksheet. To make it accessible you can write a VBA eval function like this :

    Please Login or Register  to view this content.
    You would use it like this:

    =eval(H8)

    Note, though, that it is volatile, as it wouldn't know when to recalculate when necessary, so it rather defeats what you are trying to do.

    Hope this helps.

    Pete

+ 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. how to convert text to formula
    By mohammed-ali in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-26-2016, 12:30 AM
  2. [SOLVED] Convert formula to text
    By MagicMan in forum Excel General
    Replies: 4
    Last Post: 10-12-2015, 02:22 PM
  3. Convert Cell Formula to Convert Text to VBA Code
    By PY_ in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-08-2014, 05:51 PM
  4. Convert Text Dates, Perform Calculation, Convert back to Text
    By Orada in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-13-2012, 05:25 PM
  5. Convert text to Formula
    By aljanga in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-08-2010, 03:23 AM
  6. convert text to a value to be used in a formula
    By otto in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-23-2005, 03:06 PM
  7. [SOLVED] how to convert text to formula?
    By omar in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-10-2005, 11:06 AM

Tags for this Thread

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