Random Rounding in Google Sheets

  • Thread starter Thread starter kyphysics
  • Start date Start date
  • Tags Tags
    Google Random
Click For Summary
In Google Sheets, users may encounter unexpected rounding of numbers in certain cells, which can be attributed to differing cell formatting. This issue often arises when the default formatting of a cell is inconsistent with others, leading to discrepancies in how numbers are displayed. To resolve this, users can change the number format of the affected cell to increase the number of decimal places shown. Additionally, copying the format from a correctly formatted cell to the problematic one can help eliminate formatting issues. If necessary, users can delete entire rows or columns, but should first copy the remaining data to avoid complications. Understanding that default cell values may vary based on when and how cells are created can also provide insight into these formatting inconsistencies.
kyphysics
Messages
685
Reaction score
445
If anyone knows what on Earth could be happening and how to fix this, please let me know.

I'm using Google Sheets. I have lots of cells where I'm manually entering numbers with some having decimal places. All of a sudden, a random cell rounds a number UP for me. WTH? There's no rounding (that I can tell) in other cells.

Anyone know why this happens and how to remove it so I only get what I enter (i.e., no rounding)?

Props to anyone who knows how to fix this!
 
Computer science news on Phys.org
Is it feasible to delete the entire row or column this cell is in? Copy the remaining cells to a new row/column before if needed and if that doesn't create too many problems elsewhere in the sheet.
 
This is just a guess. The number may be fine, but the default formatting of that cell may be different. You can test that by changing the number format of the offending cell. Increase the number of decimal digits displayed.

Why the default may be different for different cells, I have no idea.
 
  • Like
Likes berkeman and russ_watters
anorlunda said:
The number may be fine, but the default formatting of that cell may be different.
That was my thought as well. I'm not familiar with Google Sheets, but in Excel I sometimes run into formatting issues when adding information to a spreadsheet.

I don't know what a similar fix would be in Google Sheets, but in Excel you can copy a cell (that you know has generic formats) onto a 2-D range of cells. That's one way to clear out any leftover formats in the target cells. There may be some other Edit option that will let you clear the formats in a selected 2-D range of cells.

1568401185036.png
 
An additional speculation is that the program a certain number of cells are created and populated with default empty cell values on startup. Later, more rows and columns can be added, and populated with empty cell default values.

It would be a bug if those two cases of default values were not the same, but it is certainly conceivable.
 
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
10
Views
6K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
19K
  • · Replies 50 ·
2
Replies
50
Views
9K
  • · Replies 7 ·
Replies
7
Views
3K