Create a list from TRIM CONCAT

NVRensburg

Board Regular
Joined
Jul 1, 2014
Messages
113
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I have this formula which works perfectly, however it lists the names from column K one next to the other. I want to list the names one under the other in the cell. What can I add to this formula to achieve that please?

=TRIM(CONCAT(IF(ISBLANK(K58:K139),C58:C139,"")&" "))

Thank you in advance!
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Hi, use the CHAR(10) character for a carriage return/line break
=TRIM(CONCAT(IF(ISBLANK(K58:K139),C58:C139,"")&Char(10)))
Then apply 'Wrap Text' to the cell
 
Upvote 0
In Excel 365 which you have listed, you could also do this:
=TEXTJOIN(CHAR(10),,FILTER(C58:C139,K58:K139=""))

Apply Wrap Text to the cell.
 
Upvote 0
Solution
If you are only using 365 please update your profile. Filter won't work in 2016 and I don't think TextJoin will either.
 
Upvote 0

Forum statistics

Threads
1,223,270
Messages
6,171,102
Members
452,379
Latest member
IainTru

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