Formula to sum comma-delimited values in a cell which can work for Excel for the web

XL123

New Member
Joined
Aug 4, 2014
Messages
14
Hi,
I have been trying to get a formula that would work in the online version of Excel which will allow me to sum comma-delimited values in a cell. For e.g per below
in cell A2 I have: 2,3,4,15 and in B2 the formula should give a total of 24. The formula should be able to copied down column B
Hope image below clarifies the question.


Team 1Total
2,3,4,15
24​
5,10,15,22
52​
1,3,29
33​
 

Attachments

  • comma delimited sum.jpg
    comma delimited sum.jpg
    11 KB · Views: 7

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
How about
Excel Formula:
=SUM(--(TRIM(MID(SUBSTITUTE(A2,",",REPT(" ",100)),SEQUENCE(LEN(A2)-LEN(SUBSTITUTE(A2,",",""))+1,,,100),100))))
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top