i have done the above but when ever i insert data the total simple said #Value! any idea. many thanks by the way
Main Topics
Browse All TopicsI have a row of numbers for example 125+1, 100, 52, 12, 41+3, 152+1. i need excel to auto up add all of these numbers together, i am currently using a formula like =SUM(C6:AF6), but of course excel does not read and add numbers with + after them , i.e 125+1. infact i do not want the number that follows the + to be added to the Total only the number infront. for example
125+1, 100, 52, 12, 41+3, 152+1 = 482 (wanted out come)
125+1, 100, 52, 12, 41+3, 152+1 = 485 (unwanted out come)
125+1, 100, 52, 12, 41+3, 152+1 = 164 (current out come)
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Sure, that would be easily possible. I'm guessing you can't do it currently, since the formula would likely error with a blank cell. I can add something to the array formula to check for a blank cell, and in that case add 0:
=SUM(VALUE(IF(LEN(C6:AF6)=
In case you're curious how this works.. By entering this as an array formula, what is it doing is just iterating through the specified cells one at a time, then summing the result together. All I did for this change was add the if(len(c6:af6)=0,0,...) part.
Matt
Andrew,
You've got me as the total is 487.
Instead of lots of complicated formulae why not just use Find to find all the commas in the string and Replace them with + signs. Then just put an = sign at the beginning and that's it. Ans = 487
Patrick
ps. By the way you can use Excel almost like a calculator. So for example if you type in =12+13+14+16 and press Enter you will get 54.
Andrew,
Not one to give up on possible simple solutions...
Instead of lots of complicated formulae why not just use Find & Replace in 2 stages:
1. Find all the + signs followed number and Replace them with nothing then
2. Find and replace all the commas in the string and Replace them with + signs
3. Then just put an = sign at the beginning and that's it. Ans = 482
Patrick
Good question.. I do have an answer for you but I'm hoping someone who is truly skilled in array formulae to chime in here, because this may get a little long.
This works as you described, but only if you would also want the sum of 125, 20, 44 to be "189+0":
=SUM(VALUE(IF(LEN(C6:AF6)=
This works "fully", in that the above case would return 189 or 189+2 depending on if the +1s existed:
=SUM(VALUE(IF(LEN(C6:AF6)=
That is quite a long formula though :)
Matt
Andrew,
If none of the cells had a "+" in it, would you want it to have "+0" at the end or just left blank?
If left blank, use the second formula at http:#21474039 and if +0 then use the first (changing the range in either to C5:C64 of course)
Matt
Business Accounts
Answer for Membership
by: mvidasPosted on 2008-04-30 at 09:58:44ID: 21472507
Hi Andrew,
ISERROR(FI ND("+",C6: AF6)),LEN( C6:AF6),FI ND("+",C6: AF6)-1))))
Enter the cell you want the results in (F2, or double click), paste in the following formula, and don't hit enter right away:
=SUM(VALUE(LEFT(C6:AF6,IF(
Instead of enter, press ctrl-shift-enter to enter it as an array formula. You'll know you entered it correctly when brackets appear around the formula {} in the formula bar.
Matt