ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Convert 3 columns into 1, as text. (https://www.excelbanter.com/excel-discussion-misc-queries/251893-convert-3-columns-into-1-text.html)

Dale G[_2_]

Convert 3 columns into 1, as text.
 
Hi,
I need to convert 3 columns into 1, as text.

Column C has a direction, North or South, Column D has a route number, 535,
510, 511, and Column E has and arrival time formatted in military time or
h:mm;@ with the results of 8:04, 9:10, 13:04, 14:09.

If row 3, column C, D, and E were to look like;
South, 535, 8:04 or
row 4 were to look like North, 511, 13:04,
I would like to show in column I of row 3, 535S0804 and in
column I of row 4 511N1304.

Any help is appreciated.


David Biddulph[_2_]

Convert 3 columns into 1, as text.
 
=D3&LEFT(C3)&TEXT(E3,"hhmm")
--
David Biddulph

Dale G wrote:
Hi,
I need to convert 3 columns into 1, as text.

Column C has a direction, North or South, Column D has a route
number, 535, 510, 511, and Column E has and arrival time formatted in
military time or h:mm;@ with the results of 8:04, 9:10, 13:04, 14:09.

If row 3, column C, D, and E were to look like;
South, 535, 8:04 or
row 4 were to look like North, 511, 13:04,
I would like to show in column I of row 3, 535S0804 and in
column I of row 4 511N1304.

Any help is appreciated.




מיכאל (מיקי) אבידן

Convert 3 columns into 1, as text.
 
in cell I3 type: =D3&LEFT(C3,1)&TEXT(E3,"hhmm") and copy down.
Micky


"Dale G" wrote:

Hi,
I need to convert 3 columns into 1, as text.

Column C has a direction, North or South, Column D has a route number, 535,
510, 511, and Column E has and arrival time formatted in military time or
h:mm;@ with the results of 8:04, 9:10, 13:04, 14:09.

If row 3, column C, D, and E were to look like;
South, 535, 8:04 or
row 4 were to look like North, 511, 13:04,
I would like to show in column I of row 3, 535S0804 and in
column I of row 4 511N1304.

Any help is appreciated.


Dale G[_2_]

Convert 3 columns into 1, as text.
 
Micky,
It works excellent, thank you.


"מיכאל (מיקי) אבידן" wrote:

in cell I3 type: =D3&LEFT(C3,1)&TEXT(E3,"hhmm") and copy down.
Micky


"Dale G" wrote:

Hi,
I need to convert 3 columns into 1, as text.

Column C has a direction, North or South, Column D has a route number, 535,
510, 511, and Column E has and arrival time formatted in military time or
h:mm;@ with the results of 8:04, 9:10, 13:04, 14:09.

If row 3, column C, D, and E were to look like;
South, 535, 8:04 or
row 4 were to look like North, 511, 13:04,
I would like to show in column I of row 3, 535S0804 and in
column I of row 4 511N1304.

Any help is appreciated.



All times are GMT +1. The time now is 03:56 PM.

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