Forum Discussion

Melvyn1's avatar
Melvyn1
Copper Contributor
Feb 06, 2024
Solved

How to have a formula evaluating its own result.

Hello, In order to do statistics I made this formula (#1): =(SUBSTITUE(SUBSTITUE("=SUBSTITUE(GAUCHE(CELLULECHOISIE;TROUVE(¶;¶;CELLULECHOISIE)-1);¶[¶;¶¶)";"¶";"""");"CELLULECHOISIE";SUBSTITUE("VALEU...
  • JKPieterse's avatar
    JKPieterse
    Feb 09, 2024

    Melvyn1 You can easily do this by wrapping your current formula in the LET function. Lets take your example formula:

    =C20 + C20 * C20 + C20

    Change it to this:

     

    =LET(x,C20,x + x * x + x)

    ###EDITED: Reversed the X and C20 to fix a typo (actually, I wasn't thinking 🙂 )

     

Resources