ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   append column data (https://www.excelbanter.com/excel-worksheet-functions/195802-append-column-data.html)

ACarella

append column data
 
I have the following:

COL1 COL2 COL3 COL4
SP000008 COVS S&IH EN

and need this displayed in

COL5
SP000008_COVS_S&IH_EN.html

Rick Rothstein \(MVP - VB\)[_970_]

append column data
 
Assuming each column will have an entry and that, unlike your posted message
looks, there will not be extraneous blank spaces before or after an entry...

E2: =A2&"_"&B2&"_"&C2&"_"&D2&".html"

If there can be extraneous blank spaces, then use this instead....

E2: =TRIM(A2)&"_"&TRIM(B2)&"_"&TRIM(C2)&"_"&TRIM(D2)&" .html"

Rick


"ACarella" wrote in message
...
I have the following:

COL1 COL2 COL3 COL4
SP000008 COVS S&IH EN

and need this displayed in

COL5
SP000008_COVS_S&IH_EN.html



Teethless mama

append column data
 
=A1&"_"&B1&"_"&C1&"_"&D1&".htm"


"ACarella" wrote:

I have the following:

COL1 COL2 COL3 COL4
SP000008 COVS S&IH EN

and need this displayed in

COL5
SP000008_COVS_S&IH_EN.html


Gord Dibben

append column data
 
=A1&"_"&B1&"_"&C1&"_"&D1&".html"


Gord Dibben MS Excel MVP

On Tue, 22 Jul 2008 08:04:04 -0700, ACarella
wrote:

I have the following:

COL1 COL2 COL3 COL4
SP000008 COVS S&IH EN

and need this displayed in

COL5
SP000008_COVS_S&IH_EN.html




All times are GMT +1. The time now is 07:00 PM.

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