append column data

A

ACarella

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
 
R

Rick Rothstein \(MVP - VB\)

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top