Search code examples
google-sheetsjoinreplaceconcatenationgoogle-sheets-formula

Add info in cell without affect its value


I'm looking to show more information in one single cell but without altering its actual value.

For exemple
A2 is an addition
A2 = 40+10
Showed: A2 = 50

But I want to have this showed:
« 50 (40+10) » (the actual formula)

A2 keeps the value « 50 » but show me the actual maths behind

Is this possible?


Solution

  • in the same cell:

    =40+10&" (40+10)"
    

    0


    in a side cell:

    =A2&" ("&REPLACE(FORMULATEXT(A2), 1, 1, )&")"
    

    0