Autosum returns 0 value on data sheet

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Autosum retorn a '0' Value on a Data Sheet. I have formatted the cells to
numbers and various other which has no impact. Copy & Special Paste did not
have any effect. Please assist.
 
Eric

Format all to General or Number then copy an empty cell.

Select your data range and Paste Special(in place)>Add>OK>Esc.

Or run the range through the Data>Text to Columns Wizard making sure at third
step the Column Data Format is set to General(default).


Gord Dibben MS Excel MVP
 
Where did you get the numbers from, web page or import?

Try this, assuming the values are in A1:A20,
select A1:A20, do edit>replace, click in the find what box and hold down alt
while typing
0160, release the alt key

now sum them


--


Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
(Remove ^^ from email)
 
Hi Dave

I was hoping for a quick and easy fix here, this is getting too complicated
for me. I am not technically strong enough to read and understand code and
macros.

The error seems to entail invalid spaces and characters returning a ‘0.00’
formula result. I have tried running the ‘TRIM’ & ‘CLEAN’ Formulas from the
Help menu with no luck.

Regards

Eric
 
Hi Eric

Assuming the data being summed is in column A, then in any spare column
enter
=SUBSTITUTE(SUBSTITUTE(A1,CHAR(160),"")," ","")
and copy down as required.

Now, copy this new range of cells and Paste Special>Values back over the
data in column A.
You can then delete the helper column used.

Does that resolve the problem?
 
Hi Eric

What comma separators?

If you are saying that there is a single quote in front of the number
'2.00 then use
=--SUBSTITUTE(SUBSTITUTE(A1,CHAR(160),"")," ","")

If you are saying there are resulting numbers like 2.00, then use
=--SUBSITITUTE(SUBSTITUTE(SUBSTITUTE(A1,CHAR(160),"")," ",""),"'","")

--
Regards

Roger Govier


EricB said:
Hi Roger

The Formula seems to have deleted the 'invalid' spaces, but the comma
separators (that might be a problem) is still evident. Formatting does
not
have any effect on the numbers (I can try to change the value to a
currency
or percentage without any effect), thus I am not sure if any change
has taken
place.

Regards

Eric
 
Hi Eric

My apologies for the " ' " instead of " , " but you figured it out
anyway.
Glad you got the issue resolved.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top