[Solved] Showing both formula and result

Discuss the spreadsheet application
Post Reply
Stary1993
Posts: 2
Joined: Wed Nov 22, 2017 12:54 am

[Solved] Showing both formula and result

Post by Stary1993 »

Hi Everyone,

I am having a formula in Cell D9 and I want to put the result of this formula in Cell G9. Please note that I want formula showing in cell D9, and cell G9 should contain the result of formula written in D9. How do i do this?

Please help urgently.

Thanks
Adel
Last edited by Hagar Delest on Wed Nov 22, 2017 10:59 pm, edited 2 times in total.
Reason: tagged [Solved].
OpenOffice 4.1.4
User avatar
robleyd
Moderator
Posts: 5085
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Showing both formula and result

Post by robleyd »

The result of a formula can only be shown in the same cell as the formula. Imagine trying to maintain a spreadsheet where all the formulae were scattered anywhere other than where the results were displayed - nightmare!

However, you can use the FORMULA() function to display the text of a formula from another cell; put the formula in G9 where the result will appear, and in D9 put

Code: Select all

=Formula(G9)
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
Stary1993
Posts: 2
Joined: Wed Nov 22, 2017 12:54 am

Re: Showing both formula and result

Post by Stary1993 »

That's it! Thanks a lot! :)
OpenOffice 4.1.4
Post Reply