CONCATENATE versus TEXTJOIN with array formula (CSE)

zylstrar

New Member
Joined
Feb 8, 2022
Messages
4
Office Version
  1. 365
Platform
  1. Windows
I would like to get the same result with TEXTJOIN (as an array formula in one cell) as I get with CONCATENATE. For example:
I want these results:

Image 2022-02-08.png


But I get this:
Image 2022-02-08 2.png
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
"I would like to get the same result with TEXTJOIN (as an array formula in one cell) as I get with CONCATENATE."
Why?
CONCATENATE and TEXTJOIN are two different functions. The reason there are two functions is so that we can get results with one that you can't with the other and vice versa.
If CONCATENATE works for you, use it.
 
Upvote 0
Why?
If CONCATENATE works for you, use it.
Yes, I was really thinking the same thing, but "CONCATENATE may not be available in future versions of Excel."
So if it isn't available (in the future), then what? CONCAT is also natively array-based, and so works like TEXTJOIN, even though it is supposed to be the replacement for CONCATENATE. : /

@BSALV, this is actually what I used. The only thing is that with a CSE formula I only have to change one formula to adjust all cells, whereas with a regular formula I must remember to select all cells first then Ctrl + Enter to adjust all. I thought there was another way of entering a formula once to apply to a range, but perhaps I am mistaken.
 
Upvote 0
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

What about just doing it like this?
(Further to the first point above, if you have MS 365, you do not need the CSE formula confirmation.)

Cell Formulas
RangeFormula
B2:D4B2=B1:D1&" "&A2:A4
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Wow, sometimes my brain doesn't work. Either that or I'm too interested in doing things the most difficult way. : /

Now I understand why Microsoft is phasing out CONCATENATE.

I love this answer to the question, "Why use CONCATENATE in Excel?": Why use CONCATENATE vs & in Excel?.

(I entered my version of OS and Excel in my account details.)
 
Upvote 0
I entered my version of OS and Excel in my account details.
Thanks for doing that. (y)

So, as I mentioned before, you don't need CSE entry for the formula that I suggested - or for the original formula you were using with Concatenate()
 
Upvote 0
you don't need CSE entry for the formula that I suggested
Good point. That method can be used very generally. It is probably what I was thinking of when I was remembering the existence of another way.
 
Upvote 0

Forum statistics

Threads
1,214,861
Messages
6,121,973
Members
449,059
Latest member
oculus

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