Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Combining TEXTSPLIT with BYROW to return a spilled array [duplicate]

I can use TEXTSPLIT() on an individual cell with no problem, but I want to use a single formula to split a list of names.

This works:

enter image description here

However, this doesn't:

enter image description here

What am I doing wrong? BYROW() works fine with most functions, but it doesn't like TEXTSPLIT() for some reason.

What is the solution?

like image 505
Statto Avatar asked Dec 01 '25 12:12

Statto


1 Answers

The error is due to the fact that, when using BYROW, the LAMBDA must return only a single value, not two values.

There may be more efficient methods, but one way of getting your desired output to spill over the range with just a single formula:

 =HSTACK(TEXTBEFORE(F2:F4," "),TEXTAFTER(F2:F4," "))

enter image description here

like image 76
Ron Rosenfeld Avatar answered Dec 03 '25 06:12

Ron Rosenfeld



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!