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

Joined: 17 Mar 2009 Posts: 10
|
Posted: Tue Mar 17, 2009 3:42 am Post subject: How do I define a numeric cell result as an alphanumeric cha |
|
|
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 |
|
 |
keme Moderator


Joined: 30 Aug 2004 Posts: 2732 Location: Egersund, Norway
|
Posted: Tue Mar 17, 2009 3:52 am Post subject: |
|
|
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 |
|
 |
surplusdealdude General User

Joined: 17 Mar 2009 Posts: 10
|
Posted: Tue Mar 17, 2009 4:01 am Post subject: |
|
|
Thank you - I will try that.
(Figures it would be something simple)  |
|
| Back to top |
|
 |
surplusdealdude General User

Joined: 17 Mar 2009 Posts: 10
|
Posted: Tue Mar 17, 2009 4:09 am Post subject: |
|
|
| Yup - that worked great. Thanks. |
|
| Back to top |
|
 |
|