Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Use Text in cell as formula in Google Sheets

$
0
0

I am working on a way of building out a formula rather than a bunch of if/then statements. Is there a way I can convert the text from one cell and use that text as the formula of another?

Example:

A1 = 1A2 = 2B1's formula reads "=A1+A2" (without quotes) resulting in the value of 3 in cell B1

In C1, if i literally have the text value of "A1+A2" without the quotes, is there a way in cell D1 i can reference the text of C1 to display the value of 3?

I tried ="=" & indirect(C1) and =indirect("=" & C1) but both fail.


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>