Textjoin

Deelof

New Member
Joined
Aug 30, 2023
Messages
34
Office Version
  1. 2019
Platform
  1. Windows
Using the following Textjoin formula but how can i adapt the result to remove/ignore "H", "W", "D", DIA", "SH", "AH" where their cells are blank?

=TEXTJOIN(" / ",TRUE,C6,L6:U6,TEXTJOIN(" ",TRUE,"H",TEXTJOIN(" ",TRUE,V6,TEXTJOIN(" ",TRUE,TEXTJOIN(" ",TRUE,"W",TEXTJOIN(" ",TRUE,W6,TEXTJOIN(" ",TRUE,"D",X6,TEXTJOIN(" ",TRUE,"DIA",Y6,TEXTJOIN(" ",TRUE,"SH",Z6,TEXTJOIN(" / ",TRUE,"AH",Z6,TEXTJOIN(" / ",TRUE,TEXTJOIN(" / ",TRUE,AB6,AC6))))))))))))

MEDIA UNIT / BLACK / BAMBOO / WOOD VENEER / BLACK METAL LEGS / H 550 W 1400 D 420 DIA SH AH / CRIB 5 / LEGS
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hi & welcome to MrExcel.
I think your only option is to do it like
Excel Formula:
=TEXTJOIN(" / ",TRUE,C6,L6:U6,IF(V6<>"","H "&V6,"")&IF(W6<>""," W " & W6,"")&IF(X6<>""," D "&X6,""),AB6,AC6)
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,214
Messages
6,123,659
Members
449,114
Latest member
aides

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