+ Reply to Thread
Results 1 to 3 of 3

Covert text to be a Formula

Hybrid View

macky1730 Covert text to be a Formula 07-22-2010, 03:20 AM
DonkeyOte Re: Covert text to be a... 07-22-2010, 03:33 AM
macky1730 Re: Covert text to be a... 07-22-2010, 03:46 AM
  1. #1
    Registered User
    Join Date
    04-13-2009
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    94

    Covert text to be a Formula

    is it possible to convert text from a cell to a formula from another cell.
    Example:
    Value in "A1" is word "concatenate"
    Value in "A2" & "A3" is letters "A" & "B"
    then in cell "A4" i want to make a formula that would look like this
    A4=A1(A2,A3)
    A4 = concatenate(A2,A3)
    so the final value in A4 would be "AB"

    please help

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Covert text to be a Formula

    You would need to use VBA to some extent - ie utilise Evaluate either via old XLM call (Name), VBA or via 3rd party morefunc.xll

    Given your use of XL2007 I'd be inclined to use a UDF (stored in a Module in VBE)

    Function EvalString(strFormula as String)
        EvalString = Application.Caller.Parent.Evaluate(strFormula)
    End Function
    Your formula in A4 would be:

    =EvalString(A1&"(A2,A3)")
    Does that help ?

  3. #3
    Registered User
    Join Date
    04-13-2009
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    94

    Re: Covert text to be a Formula

    i was hoping for a formula without using VBA . anyway thanks

+ 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