[Solved]My Spreadsheet Keeps rounding off my account number

Discuss the spreadsheet application
Post Reply
Mitupogo
Posts: 2
Joined: Fri May 24, 2019 5:42 pm

[Solved]My Spreadsheet Keeps rounding off my account number

Post by Mitupogo »

I've looked for answers and tried some that are similar - changing autoformat options, changing cell options....

NO LUCK.

I'm doing a new spreadsheet. Budget. I put in the first columns fine. Name, Dollar Amount, Date, etc. I get to the Account number column, and I type in the account number. It ends in "68". The sheet keeps changing it to 70, AND in the cell contents window at the top, it's putting in some kind of calculation with + sign, etc. I tried new sheet, etc. No luck. Help!
Last edited by thomasjk on Sat May 25, 2019 9:20 pm, edited 1 time in total.
Reason: Mark thread [Solved] and add green checkmark
OpenOffice 4.1.6 on Windows 10
FJCC
Moderator
Posts: 9274
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: My Spreadsheet Keeps rounding off my account numbers!

Post by FJCC »

You probably have to format the cells as text. Use the menu Format -> Cells and on the Numbers tab set the Category to Text.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
Mitupogo
Posts: 2
Joined: Fri May 24, 2019 5:42 pm

Re: My Spreadsheet Keeps rounding off my account numbers!

Post by Mitupogo »

Thanks so much. Doing the text format worked. Still WEIRD. Thanks!
OpenOffice 4.1.6 on Windows 10
User avatar
RusselB
Moderator
Posts: 6646
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: My Spreadsheet Keeps rounding off my account numbers!

Post by RusselB »

Not so much weird, but a lack of understanding how Calc works with numbers.
Numbers up to and including 15 digits in length are handled properly...16 digits or more are affected by rounding to bring the number compliant with the 15 significant digit count.
Since the account numbers aren't needed for any calculations, they can easily be marked as text, as FJCC suggested.
OpenOffice 4.1.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
jrkrideau
Volunteer
Posts: 3816
Joined: Sun Dec 30, 2007 10:00 pm
Location: Kingston Ontario Canada

Re: My Spreadsheet Keeps rounding off my account numbers!

Post by jrkrideau »

RusselB's explaination applies to any program BTY. Fifteen digits is the limit of accuracy due to the fact that computers work in binary not decimal arithmetic.
LibreOffice 7.3.7. 2; Ubuntu 22.04
Post Reply