A more complex use of Concatanate......

Mark McInerney

Active Member
Joined
Apr 4, 2012
Messages
266
Office Version
  1. 365
Platform
  1. Windows
Hi Folks,

I have a range of data A1:D1 - the values of the cells are dynamically linked to other cells.

For this example - they are A1 = "0", B1 = "0", C1 = "Cake" and D1 = "Nice"

I need to retrieve only the text strings and place something that delimits them as well - I want the output to be Cake / Nice

Another example A1 = "Karen", B1 = "0", C1 = "0" and D1 = "Wall" - I want the output to be Karen / Wall

Is this possible?

Many Thanks for taking a look - appreciated - Mark.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
How about
Excel Formula:
=TEXTJOIN(" / ",,FILTER(A1:D1,LEN(A1:D1)>1))
 
Upvote 0
How about

Excel Formula:
=TEXTJOIN(" / ",,TEXT(A1:D1,"0;;"))
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,446
Messages
6,124,900
Members
449,194
Latest member
JayEggleton

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
Back
Top