OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Treat the = sign as a text symbol not formula

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
Skipaz
General User
General User


Joined: 21 Mar 2007
Posts: 9

PostPosted: Tue Apr 01, 2008 6:47 am    Post subject: Treat the = sign as a text symbol not formula Reply with quote

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
View user's profile Send private message
Mark B
Super User
Super User


Joined: 16 Feb 2007
Posts: 852
Location: Lincolnshire, UK

PostPosted: Tue Apr 01, 2008 7:09 am    Post subject: Reply with quote

Hi

Type:
Code:

'=

for example:
Code:

'=F6

will display the text =F6 instead of the contents of F6

Mark
_________________
Mark B's Articles
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Villeroy
Super User
Super User


Joined: 04 Oct 2004
Posts: 10065
Location: Germany

PostPosted: Tue Apr 01, 2008 7:10 am    Post subject: Reply with quote

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
View user's profile Send private message
David
Super User
Super User


Joined: 24 Oct 2003
Posts: 5668
Location: Canada

PostPosted: Tue Apr 01, 2008 7:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group