How to Fix TEXTSPLIT Returning Incomplete Results in BYCOL
Question details
The user needs to resolve an issue where the TEXTSPLIT function returns incomplete data when used within BYCOL or other array-processing functions.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Using TEXTSPLIT inside BYCOL to process complex business logic and split text arrays.
- Observed behavior
- TEXTSPLIT returns only the first value instead of the expected two-dimensional array result when receiving an array as its first argument.
Ensure that your spreadsheet software is updated to a version that supports Dynamic Arrays, as functions like TEXTSPLIT, BYCOL, and MAP require a modern spreadsheet engine.
Unwrap the Array Using the INDEX Function
Prevent the array-of-arrays limitation by extracting individual values with INDEX before passing them to TEXTSPLIT.
Spreadsheet engines like Excel cannot return an array of arrays (nested arrays). When BYCOL passes an array into TEXTSPLIT, the calculation defaults to returning only the first item.
By unwrapping the array value with the INDEX function inside your formula, you force the engine to evaluate a single text value, allowing TEXTSPLIT to return the full spilled result.
Select the cell containing your complex BYCOL and TEXTSPLIT formula.
Inside the LAMBDA function of your BYCOL formula, wrap the array reference with the INDEX function (e.g., INDEX(array_ref, 1)).
Place this newly unwrapped INDEX result as the first argument in your TEXTSPLIT function and press Enter.

Use MAP Instead of BYCOL
Switch from BYCOL to MAP to evaluate cells individually and bypass the nested array conflict.
Apply TRANSPOSE as a Quick Workaround
Use TRANSPOSE to adjust the orientation of the output if you are directly splitting a text value in an isolated scenario.
Try WPS Office for Seamless Spreadsheet Management
If you frequently encounter complex array limitations or formula errors in Microsoft Excel, consider using WPS Office. It provides powerful data analysis tools, excellent compatibility with Excel formulas, and a familiar interface—all for free.
- 1. Download and Install: Visit the official WPS website to download and install WPS Office Free on your device.
- 2. Open Your Spreadsheet: Launch WPS Spreadsheet and open your existing Excel documents directly without converting formats.
- 3. Process Data efficiently: Use your favorite formulas, including advanced text-splitting functions, to analyze your data seamlessly.

Frequently Asked Questions
Why does Excel return only the first value with TEXTSPLIT inside BYCOL?
Passing an array to TEXTSPLIT within an array-processing function like BYCOL creates an 'array of arrays'. The spreadsheet calculation engine cannot process or return nested arrays, so it defaults to outputting only the first row or column.
Can I use TEXTSPLIT normally without array functions?
Yes. If you pass a direct text value or a single cell reference to TEXTSPLIT, it works perfectly and outputs the expected two-dimensional spilled array without requiring workarounds.
What is the difference between BYCOL and MAP when using TEXTSPLIT?
BYCOL passes an entire column array to the LAMBDA function, which triggers the nested array limitation when combined with TEXTSPLIT. The MAP function evaluates each cell individually, often allowing you to bypass the array-of-arrays conflict.
Are there other functions to extract text besides TEXTSPLIT?
Yes. If TEXTSPLIT causes nested array errors, you can often use TEXTBEFORE or TEXTAFTER inside your array functions to extract specific substrings without generating a secondary array.




