Forum Discussion
How to make a list from an excel spreadsheet with many columns
- Jan 03, 2023
You need a different kind of formula in Excel 2016. TEXTJOIN is not available there. Try this:
=A2&IF(B2="","",CHAR(10)&"- "&B2&" "&B$1)&IF(C2="","",CHAR(10)&"- "&C2&" "&C$1)&IF(D2="","",CHAR(10)&"- "&D2&" "&D$1)&IF(E2="","",CHAR(10)&"- "&E2&" "&E$1)&IF(F2="","",CHAR(10)&"- "&F2&" "&F$1)&IF(G2="","",CHAR(10)&"- "&G2&" "&G$1)
Detlef_Lewin Thanks for your help! I tried this but it didn't work for me. I've never used the TEXTJOIN formula, is this in conjunction with the one i had posted above or should this give me what i need including eliminating anything that is blank? Sorry, not well versed in Excel formulas!
- SergeiBaklanJan 03, 2023Diamond Contributor
Depends on your Excel version, perhaps you shall use it as array formula.
- JStroyerJan 03, 2023Copper ContributorYes, i think its because i'm using Excel 2016. How would i use it as an array formula? Thanks!
- HansVogelaarJan 03, 2023MVP
You need a different kind of formula in Excel 2016. TEXTJOIN is not available there. Try this:
=A2&IF(B2="","",CHAR(10)&"- "&B2&" "&B$1)&IF(C2="","",CHAR(10)&"- "&C2&" "&C$1)&IF(D2="","",CHAR(10)&"- "&D2&" "&D$1)&IF(E2="","",CHAR(10)&"- "&E2&" "&E$1)&IF(F2="","",CHAR(10)&"- "&F2&" "&F$1)&IF(G2="","",CHAR(10)&"- "&G2&" "&G$1)
- Detlef_LewinJan 03, 2023Silver Contributor
- JStroyerJan 03, 2023Copper ContributorSorry should have been more clear, its giving me the #NAME error. I'm using Excel 2016 so i believe thats why.