ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to combine the content from eg. 3 cells into a new cell (https://www.excelbanter.com/excel-discussion-misc-queries/229577-how-combine-content-eg-3-cells-into-new-cell.html)

Kammam

How to combine the content from eg. 3 cells into a new cell
 
Hi

In colimn A cell 1, I have entered the number 100
In column B cell 1, I have entered the number 10
In column C cell 1, I have entered the number 1001

Then I want to combine this data into cell 1 in column D to show
100-10-1001 - How can I do this?
Thanks in advance.



Rick Rothstein

How to combine the content from eg. 3 cells into a new cell
 
If all you want is the numbers from A1, B1 and C1 in D1 separated by
dashes...

=A1&"-"&B1&"-"&C1

--
Rick (MVP - Excel)


"Kammam" wrote in message
...
Hi

In colimn A cell 1, I have entered the number 100
In column B cell 1, I have entered the number 10
In column C cell 1, I have entered the number 1001

Then I want to combine this data into cell 1 in column D to show
100-10-1001 - How can I do this?
Thanks in advance.




Jacob Skaria

How to combine the content from eg. 3 cells into a new cell
 
CONCATENATE() is the function to combine text strings.

Alternatively you can use teh ampersand &

=A1&"-"&B1&"-"&C1

If this post helps click Yes
---------------
Jacob Skaria


"Kammam" wrote:

Hi

In colimn A cell 1, I have entered the number 100
In column B cell 1, I have entered the number 10
In column C cell 1, I have entered the number 1001

Then I want to combine this data into cell 1 in column D to show
100-10-1001 - How can I do this?
Thanks in advance.




All times are GMT +1. The time now is 11:10 AM.

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