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

How can I get the formula from a cell instead of its value using INDIRECT with R1CI notation? [duplicate]

$
0
0

I am using the following formula in a cell to retrieve the value from the cell to its immediate left, but I want instead to retrieve its formula:

=INDIRECT("RC[-1]",FALSE)

Sample Formulas

  • A1 →=INDIRECT("RC[-1]",FALSE)
  • B1 →=IF(1, "I'm a value",)

Current Result

A1:B1

AB
1I'm a valueI'm a value

Desired Result

I want to retrieve the actual formula from the cell rather than its value.

In other words, =IF(1, "I'm a value",) instead of I'm a value


Viewing all articles
Browse latest Browse all 9782

Trending Articles



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