Concatenating Columns

paul29berks

Active Member
Joined
Mar 15, 2004
Messages
293
I am trying to concatenate values from seperate columns. Which is fine, however if there are no values in any of these columns I wish to include three dots (...)

So for example

Column1 Column 2 Column 3

B11 Europe

would concatenate as:

B11Europe...

Thanks
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Fausto

New Member
Joined
Jul 28, 2004
Messages
44
Hello

This function should do the trick

=IF(C13<>"",C13,"…")&IF(D13<>"",D13,"…")&IF(E13<>"",E13,"…")

Hope that is what you are looking for!
 

paul29berks

Active Member
Joined
Mar 15, 2004
Messages
293
Sorry just a further question.

If I wanted to add a further . after each cell how could i do this?

i.e

if c13 is null then ... followed by a . then if d13 is null then ... followed by a . etc etc

Thanks
 

thunderfoot

Board Regular
Joined
May 28, 2004
Messages
229
=IF(C13<>"",C13,"…")&"."&IF(D13<>"",D13,"…")&"."&IF(E13<>"",E13,"…")&"."
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,054
Messages
5,835,153
Members
430,342
Latest member
Sailingexcel

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top