1
I'm a beginner on excel and I'm trying to get the following result:
Col1 Col2 Col3 Col4
John Jim Tom Sarah
Ann Betty blank blank
Lee Sue George blank
What I want:
John_Jim_Tom_Sarah
Ann_Betty
Lee_Sue_George
What I'm getting:
John_Jim_Tom_Sarah
Ann_Betty__
Lee_Sue_George_
Do someone know how to solve it?
You should be able to use something like
IF(ISBLANK(A1,"","_"&A1))
to return the underscore only if A1 is not blank. – Worthwelle – 2018-09-27T16:00:17.2571What version of Excel do you have? If it's a newer version, you can use
TEXTJOIN()
– BruceWayne – 2018-09-27T16:00:21.357