[Solved] Convert function result to cell formula

Discuss the spreadsheet application
Locked
Gonzo714
Posts: 49
Joined: Wed Nov 23, 2016 2:52 pm

[Solved] Convert function result to cell formula

Post by Gonzo714 »

Can a formula's return value be converted into that cells formula?

I have (2) sheets - Sheet1 & Sheet2

Sheet1.A1 = the word "Strawberry"

Sheet2.A1 = the word "Sheet1"
Sheet2.B1 = the word "A1"

Sheet2.C1 = the formula of ="='"&$A$1&"'."&$B$1 which will return "='sheet1'.A1",
which is the correct formula to retrieve the value of said cell A1 of Sheet1, if manually entered.

I would like it to return with "Strawberry
Last edited by MrProgrammer on Mon Mar 10, 2025 9:26 pm, edited 3 times in total.
Reason: Tagged ✓ [Solved]
LibreOffice 7.5, Debian 12
User avatar
karolus
Volunteer
Posts: 1243
Joined: Sat Jul 02, 2011 9:47 am

Re: Active Formula Value

Post by karolus »

Hallo

Code: Select all

=INDIRECT(A1&"."&B1)
Libreoffice 25.2… on Debian 13 (trixie) (on RaspberryPI5)
Libreoffice 25.8… flatpak on Debian 13 (trixie) (on RaspberryPI5)
Gonzo714
Posts: 49
Joined: Wed Nov 23, 2016 2:52 pm

Re: Active Formula Value

Post by Gonzo714 »

Awesome - Thank you!
LibreOffice 7.5, Debian 12
Locked