In the current version of Excel, the easiest way to solve this problem is with the TEXTSPLIT function.

It is possible to sum numbers separated by other delimiters as well.

See below for an example.

Delimiter set to a plus symbol “+"

TEXTSPLIT function

TheTEXTSPLIT functionis designed to split a text string by a given delimiter into multiple values.

The minimal generic syntax for TEXTSPLIT looks like this:

The result from TEXTSPLIT is anarrayof separate values.

To do this, we use the VALUE function.

Delimiter set to a plus symbol “+"

VALUE function

TheVALUE functionconverts text that appears in a recognized format (i.e.

a number, date, or time format) into a numeric value.

As a bonus, VALUE will automatically ignore any space characters that appear in the text.

Delimiter set to a plus symbol “+"

Pro tip

There are other ways to convert text values to numbers in Excel.

Handling text values and errors

If the text in a cell contains text values (i.e.

1,2,3,A) the formula above will return a #VALUE error.

Delimiter set to a plus symbol “+"

SUM can then sum the zeros along with other numbers without trouble.

The SUM function then sums the numbers normally.

Note: FILTERXML is only available in Windows Excel.

Delimiter set to a plus symbol “+"

TEXTSPLIT can split text into rows or columns.

SUM Function

The Excel SUM function returns the sum of values supplied.

These values can be numbers, cell references, ranges, arrays, and constants, in any combination.

Excel formula: Sum Roman numbers

SUM can handle up to 255 individual arguments.

FILTERXML Function

The Excel FILTERXML function returns specific data from XML text using the specified XPath expression.

SUBSTITUTE Function

The Excel SUBSTITUTE function replaces text in a given string by matching.

Excel formula: Sum numbers with text

SUBSTITUTE is case-sensitive and does not support wildcards….

Excel formula: Text split to array

Excel TEXTSPLIT function

Excel SUM function

Excel FILTERXML function

Excel SUBSTITUTE function