Aug 01 2022 04:09 PM
This is embarrassing to ask but I simply can't remember how to do something that I used to do quite frequently with Excel several years ago. I want to enter a person's surname in column A, their First name in column B and their middle name in column C.
I used to create a formula in column D to take the contents of column B, column C and column A to assemble the entire names into a readable format. An example would be Jones, Robert, James and, when combined would read Robert Jame Jones in column D.
I'm currently using Excel Office 365 whereas before I was using an older version of Excel, possibly before xls switched to xlsx.
Can anyone help me with this; it certainly isn't coming back to my now much older brain?
Thank you,
Dennis
Aug 01 2022 04:50 PM - edited Aug 01 2022 04:55 PM
Solution
You don't have to use any of the new features of Office 365 Excel. Old functions work just fine. And for this, you do not even need to use an old function (CONCAT). Simply enter the following into D2:
=B2 & " " & C2 & " " & A2
Of course, things get interesting if you want to handle the case where there is no middle name. At a minimum:
=B2 & " " & IF(C2="", "", C2 & " " ) & A2
And then there are all sorts of other special cases to handle.
Aug 01 2022 05:15 PM
Aug 01 2022 04:50 PM - edited Aug 01 2022 04:55 PM
Solution
You don't have to use any of the new features of Office 365 Excel. Old functions work just fine. And for this, you do not even need to use an old function (CONCAT). Simply enter the following into D2:
=B2 & " " & C2 & " " & A2
Of course, things get interesting if you want to handle the case where there is no middle name. At a minimum:
=B2 & " " & IF(C2="", "", C2 & " " ) & A2
And then there are all sorts of other special cases to handle.