ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   using the "&" function (https://www.excelbanter.com/excel-worksheet-functions/236172-using-function.html)

George

using the "&" function
 
Hi i am using a a number and joining it with a text with the & function but i
would like it to report to 1 decimal place. e.g
cell a1 = 9.2
cell a2 = x
so using the funciton a1&a2 = 9.2x
this result is perfect.
However, what if i have 8 in cell a1
if i use a1&a2 i get = 8x (where i need 8.0x).
any ideas?
thanks
George


Roger Govier[_3_]

using the "&" function
 
Hi George

=TEXT(A1,"0.0")&A2

--
Regards
Roger Govier

"George" wrote in message
...
Hi i am using a a number and joining it with a text with the & function
but i
would like it to report to 1 decimal place. e.g
cell a1 = 9.2
cell a2 = x
so using the funciton a1&a2 = 9.2x
this result is perfect.
However, what if i have 8 in cell a1
if i use a1&a2 i get = 8x (where i need 8.0x).
any ideas?
thanks
George


__________ Information from ESET Smart Security, version of virus
signature database 4222 (20090707) __________

The message was checked by ESET Smart Security.

http://www.eset.com




__________ Information from ESET Smart Security, version of virus signature database 4222 (20090707) __________

The message was checked by ESET Smart Security.

http://www.eset.com




George

using the "&" function
 
perfect - thanks Roger!

"Roger Govier" wrote:

Hi George

=TEXT(A1,"0.0")&A2

--
Regards
Roger Govier

"George" wrote in message
...
Hi i am using a a number and joining it with a text with the & function
but i
would like it to report to 1 decimal place. e.g
cell a1 = 9.2
cell a2 = x
so using the funciton a1&a2 = 9.2x
this result is perfect.
However, what if i have 8 in cell a1
if i use a1&a2 i get = 8x (where i need 8.0x).
any ideas?
thanks
George


__________ Information from ESET Smart Security, version of virus
signature database 4222 (20090707) __________

The message was checked by ESET Smart Security.

http://www.eset.com




__________ Information from ESET Smart Security, version of virus signature database 4222 (20090707) __________

The message was checked by ESET Smart Security.

http://www.eset.com






All times are GMT +1. The time now is 07:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com