ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   combine data in two cells into a third cell (https://www.excelbanter.com/excel-worksheet-functions/203878-combine-data-two-cells-into-third-cell.html)

ordnance1

combine data in two cells into a third cell
 
In cell A1 is a number(9), in cell A2 is a number (0001). Is there any way to
get cell A3 to show the result 9-0001?

muddan madhu

combine data in two cells into a third cell
 
try this

in A3 put this =A1&"-"&A2


On Sep 25, 10:28*am, ordnance1
wrote:
In cell A1 is a number(9), in cell A2 is a number (0001). Is there any way to
get cell A3 to show the result 9-0001?



Max

combine data in two cells into a third cell
 
"ordnance1" wrote:
In cell A1 is a number(9), in cell A2 is a number (0001). Is there any way to
get cell A3 to show the result 9-0001?


Try in A3: =A1&"-"&TEXT(A2,"0000")
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:18,100 Files:360 Subscribers:56
xdemechanik
---

Max

combine data in two cells into a third cell
 
in A3 put this =A1&"-"&A2
... but if A2 actually contained an underlying value: 1
then the result in A3 would be: 9-1 ?
OP's poser is a tricky one
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:18,100, Files:360, Subscribers:56
xdemechanik
---




All times are GMT +1. The time now is 08:50 PM.

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