| View previous topic :: View next topic |
| Author |
Message |
Skipaz General User

Joined: 21 Mar 2007 Posts: 9
|
Posted: Tue Apr 01, 2008 6:47 am Post subject: Treat the = sign as a text symbol not formula |
|
|
I want to put the = sign in a cell to display as a symbol not as a formula
How do I do that?
Thanks in advance |
|
| Back to top |
|
 |
Mark B Super User


Joined: 16 Feb 2007 Posts: 852 Location: Lincolnshire, UK
|
Posted: Tue Apr 01, 2008 7:09 am Post subject: |
|
|
Hi
Type:
for example:
will display the text =F6 instead of the contents of F6
Mark _________________ Mark B's Articles |
|
| Back to top |
|
 |
Villeroy Super User


Joined: 04 Oct 2004 Posts: 10065 Location: Germany
|
Posted: Tue Apr 01, 2008 7:10 am Post subject: |
|
|
Option 1: Disable recognition of numbers and formulas for many cells in advance: Select the cells in question, Menu:Format>Cells...tab:Numbers, Category:Text
No formatting will ever affect existing numbers nor formulas.
Option 2: Enforce text input for the current input cell: Prepend a single quote. The single quote will not be part of the text value.
In any case text cells with numbers and formulas disabled behave like this:
With text value "1234" in A1
=ISTEXT(A1) =>TRUE
=ISNUMBER(A1) =>FALSE
=LEN(A1) =>4 [if we entered '1234, the leading quote is not seen as part of the value]
=VALUE(A1) =>numeric 1234 [if we entered '1234, the leading quote is not seen as part of the value and the text is converted to number]
=SUM(A1:B5) in A1 is simply the text "=SUM(A1:B5)" in A1 _________________ Rest in peace, oooforum.org
Get help on http://forum.openoffice.org |
|
| Back to top |
|
 |
David Super User


Joined: 24 Oct 2003 Posts: 5668 Location: Canada
|
Posted: Tue Apr 01, 2008 7:33 am Post subject: |
|
|
In all the math spreadsheets I've done using = signs, I have them in separate cells, so all you need to do is to type the equal sign character, then ENTER to have it inserted as text.
David. |
|
| Back to top |
|
 |
|