Hello.
OpenOffice Spreadsheet question
If
Cell A1 content is:
55
Cell A2 content is:
=A1
Cell A3 content is:
=FORMULA(A2)
Cell A4 content is:
=ISTEXT(A3)
the result will be:
____||__A___|__B__|__C__|__
1___||__55__|_____|_____|__
2___||__55__|_____|_____|__
3___||_=A1__|_____|_____|__
4___||_TRUE |_____|_____|__
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
So the function named FORMULA returns TEXT of the function inserted into some cell
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Question
Is there some BUILT IN function that would do the opposite
That would take a textstring as an argument and use it as a function
=someStrangeFunc( TEXTSTRING)
Something like:
____||__A___|__B__|__C__|__D__|__
1___||_=5*5_|_____|______|____|__
2___||_=A1__|_____|_____|____|__
3___||_=IF(A1>A2,1,2)____|____|__
and if D1, D2, D3 has function inserted
=someStrangeFunc( TEXTSTRING)
____||__A___|__B__|__C__|__D__|__
1___||_=5*5_|_____|______|_=someStrangeFunc( A1)
2___||_=A1__|_____|_____|_=someStrangeFunc( A2)
3___||_=IF(A1>A2,1,2)_____|_=someStrangeFunc( A3)
these will produce
____||__A___|__B__|__C__|__D__|__
1___||_=5*5_|_____|______|_25__|__
2___||_=A1__|_____|_____|_25__|__
3___||_=IF(AA1>AA2,1,2)__|_2___|
_____________________________________________________________
Thank you
_____________________________________________________________
PS. I am not asking about custom functions or macros
but about built in functions
[Solved] Opposite of FORMULA
[Solved] Opposite of FORMULA
Last edited by gru on Sun Dec 27, 2015 10:01 pm, edited 2 times in total.
OpenOffice 2.4 on Ubuntu 9.04
- MrProgrammer
- Moderator
- Posts: 5472
- Joined: Fri Jun 04, 2010 7:57 pm
- Location: Wisconsin, USA
Re: Opposite of FORMULA
Hi, and welcome to the forum.
Search found 11 matches: +EVAL
If this answered your question please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.
No. However you can convert a cell containing the text of a function into a function using [Tutorial] Text to Columns, Q39/A39. But there is no =EVAL() function for spreadsheets.gru wrote:Is there some BUILT IN function that would do the opposite
That would take a textstring as an argument and use it as a function
Search found 11 matches: +EVAL
If this answered your question please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).