Auto sum equals 0

I’ve read questions and answers to the auto sum issue. I downloaded an excel file to libre and cannot get the auto sum to work. each value has an " ’ " in front as text. I tried editing the cell format from text to number or accounting and it doesn’t change it. This is very frustrating to say the least. Please help

Take a look at this TDF Wiki page.

Thank you BigRAI, that worked. In the meantime, I actually tried Google Docs. Opened the spreadsheet in Google Docs, then used the Format Cell option. This worked. But I don’t want to have to go thru this every time I use an Excel file. Even the method within LibreOffice is somewhat cumbersome for a simple AutoSum calculation, but is workable. And fortunately, I don’t have to use AutoSum frequently. Thanks again for your quick reply to this issue.

Hello,

changing the format of a cell does not change the text property of existing content, it stays to be text. Thus you need the text to be changed to numbers and the easiest was is:

  • Select all cells with the text which should be numbers
  • Go to DataText to columns and you’ll get the following dialog (Click the square as indicated)

  • The dialog changes to the following after you’ve clicked the square (Select “Standard” as indicated and click “OK”

Now your “text numbers” should be real “numbers” and “SUM” should work (BTW: If you did not change/set any alignment the left alignement [default for “text”] changes to right alignment [default for “numbers”] immediately after the change has been performed)

Thank you Opaque, that worked. So basically with your help/reply and BIGRAI’s above, that is 2 options to convert “text” numbers to actual numbers. And you are correct that in both cases, the values in the cells immediately aligned to the right side of the cell. I noticed another thing that when you do first try to “autosum” the cells, it does not activate the cells above. Makes sense since at that point they are not identified as “numbers” but text. Thank you for your quick reply and help. My frustration has ended !!!

Hello - great that it works for you, but please do use “add a comment”, if you want to comment an answer instead of using “Post Your Answer”. Finally please mark an correct answer, which solved your problem as correct by clicking the check mark ✓ next to the answer.