ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Format Concatenated Cell (https://www.excelbanter.com/excel-programming/329122-format-concatenated-cell.html)

Steve C

Format Concatenated Cell
 
I concatenated a text cell with a number cell to get a result of "Joe Smith:
23.4".

I would like to format the number to two decimal places so that I get "Joe
Smith: 23.42." How do I do that? Thanks!

Steve C

Alok

Format Concatenated Cell
 
Steve,

You do this while you are concatenating not after. Hence if Joe Smith: is in
A1 and 23.4 is in B1 then you use the formula

=A1 & TEXT(B1,"0.00")

Alok Joshi

"Steve C" wrote:

I concatenated a text cell with a number cell to get a result of "Joe Smith:
23.4".

I would like to format the number to two decimal places so that I get "Joe
Smith: 23.42." How do I do that? Thanks!

Steve C


Steve C

Format Concatenated Cell
 
Thanks. That works great!

"Alok" wrote:

Steve,

You do this while you are concatenating not after. Hence if Joe Smith: is in
A1 and 23.4 is in B1 then you use the formula

=A1 & TEXT(B1,"0.00")

Alok Joshi

"Steve C" wrote:

I concatenated a text cell with a number cell to get a result of "Joe Smith:
23.4".

I would like to format the number to two decimal places so that I get "Joe
Smith: 23.42." How do I do that? Thanks!

Steve C



All times are GMT +1. The time now is 11:30 PM.

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