+ Reply to Thread
Results 1 to 3 of 3

Evakuating formulas, which are stored in a cell as strings

  1. #1
    Registered User
    Join Date
    12-21-2012
    Location
    Hungary
    MS-Off Ver
    Excel 2019
    Posts
    56

    Evakuating formulas, which are stored in a cell as strings

    Dear excel Pros!
    How do you evaluate a formula which is stored in a cell?
    For example

    If(A1=1;C2;"")

    IN C2:
    sum(A2:D2)

    or any other formula.

  2. #2
    Valued Forum Contributor Lemice's Avatar
    Join Date
    04-13-2013
    Location
    Somewhere.
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Evakuating formulas, which are stored in a cell as strings

    Hello,

    Not sure what you mean, but you can try to add a "=" in front of your formula, so it will become
    =IF(A1=1;C2;"")
    and
    =SUM(A2:D2)

    Also, make sure they are not formatted as text (press Ctrl-1, and choose "General" for example, then add a "=" in front of your formula, then hit enter)
    (copy pasta from Ford)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools

    Regards,
    Lem

  3. #3
    Registered User
    Join Date
    03-12-2013
    Location
    Viet Nam
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: Evakuating formulas, which are stored in a cell as strings

    If you want to evaluate a formula which is stored in a cell, you must use macro4 fomulas
    A
    1 1
    2 2
    3 Sum(A1:A2)
    4 =Eva


    Excel tables to the web >> Excel Jeanie HTML
    Step 2: In C3 type : =Eva

+ 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