Create a list from TRIM CONCAT

NVRensburg

Board Regular
Joined
Jul 1, 2014
Messages
100
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 show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
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,215,133
Messages
6,123,232
Members
449,092
Latest member
SCleaveland

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