Lots of 00000000 before number Autosum do not add up

74222464

New Member
Joined
Mar 19, 2020
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Good Day I have tried many ways to use autosum from all over. A company use 10 zero's infront of the number and when I want to use autosum it give a 0 as answer. Any formulas that I can use, I used a Macro I found on Google and also this one =SUBSTITUTE(H1,CHAR(160),"")+0 but even that did not do the job for long. I really need something to use on a permanent basis to add up figures please. Pete
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
is that what you want?
Book1
B
20000000000
30000000022
40000011000
50000000050
611072
Sheet2
Cell Formulas
RangeFormula
B6B6=SUM(--B2:B5)
Press CTRL+SHIFT+ENTER to enter array formulas surrounded with curly braces.
 
Upvote 0
Hi Pete, and welcome to Mr. Excel!
I suggest posting some sample data - perhaps 10 of the cells you're trying to sum.

This is a very handy tool for uploading a copy of the selected parts of your spreadsheet - which allows members to not only have a butcher's at how it looks, but also download it quickly at their end - allowing much quicker resolutions (normally!).

Oh, disregard - @sandy666 has already been here...
At least it's a good demonstration of use of the tool to which I referred...
 
Last edited:
Upvote 0
is that what you want?
142.80
265.20
214.20
Hi Pete, and welcome to Mr. Excel!
I suggest posting some sample data - perhaps 10 of the cells you're trying to sum.

This is a very handy tool for uploading a copy of the selected parts of your spreadsheet - which allows members to not only have a butcher's at how it looks, but also download it quickly at their end - allowing much quicker resolutions (normally!).

Oh, disregard - @sandy666 has already been here...
At least it's a good demonstration of use of the tool to which I referred...
Thanks I installed will now see if it work:
142.80
265.20
214.20
 
Upvote 0
is that what you want?
Book1
B
20000000000
30000000022
40000011000
50000000050
611072
Sheet2
Cell Formulas
RangeFormula
B6B6=SUM(--B2:B5)
Press CTRL+SHIFT+ENTER to enter array formulas surrounded with curly braces.
Hi Thanks i will upload another example from what I experienced:
97.44
3.00
28.61
24.69
25.16
6.25
6.25
8.75
0.70
0.76
6.25
3.75
6.25
0.63
2.93
0.15
2.50
0.25
12.50
1.00
52.83
99.71
162.13
423.87

I hope this is the correct format
 
Upvote 0
I also think that it is blank spaces of nothing in front of the numbers
 
Upvote 0
I hope this is the correct format
you said you've multizeroes in front of each number but I don't see that
you example works with standard AUTOSUM
Book1
E
397.44
43
528.61
624.69
725.16
86.25
96.25
108.75
110.7
120.76
136.25
143.75
156.25
160.63
172.93
180.15
192.5
200.25
2112.5
221
2352.83
2499.71
25162.13
26423.87
27976.36
Sheet2
Cell Formulas
RangeFormula
E27E27=SUM(E3:E26)

or, if you think there are spaces you can try with:
Book1
E
397.44
43
528.61
624.69
725.16
86.25
96.25
108.75
110.7
120.76
136.25
143.75
156.25
160.63
172.93
180.15
192.5
200.25
2112.5
221
2352.83
2499.71
25162.13
26423.87
27976.36
Sheet2
Cell Formulas
RangeFormula
E27E27=SUM(--TRIM(E3:E26))
Press CTRL+SHIFT+ENTER to enter array formulas surrounded with curly braces.
 
Last edited:
Upvote 0
or even you can try: =SUM(--TRIM(SUBSTITUTE(E3:E26,CHAR(160),""))) with Control+Shift+Enter
or if there are any non-printable characters you can add CLEAN() function : =SUM(--TRIM(CLEAN(SUBSTITUTE(E3:E26,CHAR(160),"")))) with Control+Shift+Enter
 
Last edited:
Upvote 0
Hi sorry for only coming back now. When I try to use one of the formulas you suggest example (=SUM(--TRIM(CLEAN(SUBSTITUTE(E3:E26,CHAR(160),"")))) it give me this error I have uploaded. Any new suggestions. Is my settings within excel wrong?
 

Attachments

  • What does this mean.png
    What does this mean.png
    11.8 KB · Views: 5
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,525
Members
449,088
Latest member
RandomExceller01

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