In A1 cell I have A,B,C,,E. I want to split the cell into five cells: A , B, C, , E
This formula =split(A1,",") splits into four cells A, B, C, E and skips over the blank.
How do I tell it to split "properly"?
I don't think you can specify that directly, though here is a workaround:
, with say ,|,, we know for sure that even empty columns will have a character (in this case |)| with a blank stringsplit is an array, you will need to use arrayformulaHere is what the final formula would look like
=arrayformula(substitute(split(substitute(A1,",",",|"),","), "|",""))
If you use FALSE as the fourth argument, it will work as expected. Try using
=SPLIT(A2,",", TRUE, FALSE)
and you won't need to do work arounds

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