ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Combine Cells (https://www.excelbanter.com/excel-worksheet-functions/84279-combine-cells.html)

Union70

Combine Cells
 

Greetings,

How do I combine A1, A2 and A3 to look like this: 3:15:56? Does it
matter that the data is in Sheet1 and the final product is in Sheet2?
Any help is welcomed.

Sheet 1
Cell Value
A1 03
A2 15
A3 56

Sheet 2
Cell Value
A1 3:15:56

Thanks,
Union


--
Union70

SteveG

Combine Cells
 

Union,

This looks like a time value format that you want so in Sheet!2A1

=(Sheet1!A1&":"&Sheet1!A2&":"&Sheet1!A3)*1

This returns 0.136064815. Just format the cell as h:mm:ss to achieve
the desired look of 3:15:56. This will enable you to use the number in
calculations. If it is ok to be in text then this will be ok with
General formatting.

=Sheet1!A1&":"&Sheet1!A2&":"&Sheet1!A3



Does that help?

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=534625


Herbert Seidenberg

Combine Cells
 
=TIME(A1,A2,A3)



All times are GMT +1. The time now is 08:56 AM.

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