Skip to playerSkip to main contentSkip to footer
  • 6/2/2025
Discover how to sum comma separated values in Excel. Essentially, the answer to how to sum numbers with commas in a single Excel cell. Or how to sum numbers with commas in a single Excel cell?

By using this formula.

=SUM(--(TEXTSPLIT(B2,",")))

Here's how the formula works:

TEXTSPLIT(B2,","): This function splits the text in cell B2 into separate values based on the comma delimiter. For example, if cell B2 contains the text "10,20,30", the TEXTSPLIT function will return an array of three values: {"10","20","30"}.

--(TEXTSPLIT(B2,",")): The double unary operator ("--") is used to convert the text values in the array to numeric values. If the values in the array cannot be converted to numbers, the result will be an error value. In our example, the result of this part of the formula would be an array of numeric values: {10,20,30}.

SUM(--(TEXTSPLIT(B2,","))): The SUM function then adds up the numeric values in the array and returns the total sum. In our example, the result would be 60 (i.e., the sum of 10, 20, and 30).


🔗🔗 LINKS TO SIMILIAR VIDEOS 🔗🔗
Sum comma separated values in Excel - Excel Tips and Tricks
https://youtube.com/shorts/1GUx7zi2wzc?si=Rc8Oidvtr6t-dOFV

Sum comma separated values in Excel Without Using TEXTSPLIT() Function - Excel Tips and Tricks
https://youtube.com/shorts/z6ghCP7G3ew?si=rIS6nZL31jA41g17

Separate data from one cell in Excel with commas - Excel Tip and Tricks
https://youtube.com/shorts/xuhpFwb5TWg?si=8YYj22Elb2Ez2rMp

Text Split with multiple delimiters - Excel Tip and Tricks
https://youtube.com/shorts/LXZkMlGZWXQ?si=v-ovLGoZ2SdQ-baC

[NO FORMULA] Separate data from one cell in Excel with commas - Excel Tip and Tricks
https://youtube.com/shorts/4AhokAuE5Nc?si=ObQffk0YBaj0SgyU

Sum comma separated values in jaggered format in Excel - Excel Tips and Tricks
https://youtube.com/shorts/ijC7qhRK6s0?feature=share

Get maximum of comma-separated values in a cell In Excel - Excel Tips and Tricks
https://youtube.com/shorts/UHdjAsSx6C8?feature=share

Sum comma separated values in Google Sheets - Excel Tips and Tricks
https://youtube.com/shorts/bYOX6V_iWnI?feature=share



double unary operator, How to sum numbers with commas in a single Excel cell?, How to Sum Numbers With Commas in a Single Excel Cell?,sum numbers separated by commas online,excel index match comma separated values,how to put comma in numbers in excel formula,how to add multiple numbers in one cell excel,how to format numbers in excel with commas,countif comma separated values,how to put comma after 3 digits in excel,excel average comma separated values,
Transcript
00:00Couple of minutes ago someone came to my desk and asked me how do you add all
00:03these numbers here that is actually separated by a comma. This is how you do
00:07it. First you're gonna have to split this cell value into an array. You're gonna
00:11use a function called textSplit and then the first argument on the textSplit
00:17will be the cell where the numbers are comma and the second argument is your
00:22delimiter which is your comma itself and this will create an array of numeric
00:28value which is in string. To convert them you're gonna have to use a double dash
00:33which is also known as a double unary operator which basically converts the
00:37string of numbers into actual numbers where you can do math. Once that's done
00:43you use the good old sum function and then you are done for that row. So after
00:50that to apply to all the row just drag on this handler and then you are done.

Recommended