Copy formula so destination displays formula as text

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Cell C123 contains the value 99.

I want cell A1 to display that value (99) and cell B1 to display the formula
(=C123).
I put =C123 in cell A1. What do I put in cell B1?

I know I can toggle between value and formula but how do I get them to both
display side-by-side at once?

THANK YOU!
 
Here is a UDF solution that will work:

Function GetFormula(Cell)
GetFormula = Cell.Formula
End Function

Then in B1 enter =GetFormula(C123)
 
THANKS DAVE!


David Billigmeier said:
Here is a UDF solution that will work:

Function GetFormula(Cell)
GetFormula = Cell.Formula
End Function

Then in B1 enter =GetFormula(C123)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

display list based on validation 3
SumProduct Formula 2
Formula IF 1
Something New 1
copy and paste the cell with formula ="1" 3
Excel not recognizing formula 1
Format of cell 1
SUMPRODUCT QUESTION?, Ratios 3

Back
Top