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

How do I define a numeric cell result as an alphanumeric cha

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


Joined: 17 Mar 2009
Posts: 10

PostPosted: Tue Mar 17, 2009 3:42 am    Post subject: How do I define a numeric cell result as an alphanumeric cha Reply with quote

I want to do a very simple thing.

I have cells where I will input numbers and I have cells that already have alphabetical entries.

EG cell 1,1 = "Delrin virgin white sheet"

cell 2,1 = 2

cell 3,1 = 4

cell 4,1 = 14


The bottom 3 cells will be used for calculations, so I have to enter them as numbers.

Then, I want to use these cell results to make up a name - "Delrin virgin white sheet "(cell2,1) " x "(cell 3,1)" x " (cell 4,1) and turn that into one string of alphanumeric characters that I can stick in another cell for export to a database.


I cannot for the life of me figure out how this is done now. We used to be able to define strings by commands like $(variable name), that would turn the number into an alphabetical character for the purposes of the computer. Doesn't seem to be possible now.

What's the syntax for this?
Back to top
View user's profile Send private message
keme
Moderator
Moderator


Joined: 30 Aug 2004
Posts: 2910
Location: Egersund, Norway

PostPosted: Tue Mar 17, 2009 3:52 am    Post subject: Reply with quote

You can use the TEXT() function to convert a number to text if you need firm control of the output format.

Often it's enough to concatenate the cells. When concatenation is performed, data is automatically converted to text type. The concatenation operator is an ampersand, "&".

If your data runs down column A: =A1&" "&A2&"x"&A3&"x"&A4


Last edited by keme on Tue Mar 17, 2009 4:22 am; edited 1 time in total
Back to top
View user's profile Send private message
surplusdealdude
General User
General User


Joined: 17 Mar 2009
Posts: 10

PostPosted: Tue Mar 17, 2009 4:01 am    Post subject: Reply with quote

Thank you - I will try that.

(Figures it would be something simple) Embarassed
Back to top
View user's profile Send private message
surplusdealdude
General User
General User


Joined: 17 Mar 2009
Posts: 10

PostPosted: Tue Mar 17, 2009 4:09 am    Post subject: Reply with quote

Yup - that worked great. Thanks.
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