Forum Discussion
How to prevent Excel from rounding up 2-digit numbers?
- Mar 03, 2024
Look at this image.
I'm not sure what you're doing either, but cell A1 displays 39 when what I've entered into that cell is =INT(39.792)
Or look at this: when 39.999 has been entered.
I don't know if there's a default set somewhere in your system that is leading to "rounding up" (I can find no setting in Preferences to do that, for what it's worth).
In any event, there is a function called ROUNDDOWN and it yields this:
By the way, have you noticed that the function names highlighted in blue, both in the paragraph above and in the prior message, are hyperlinks taking you to a really good resource called ExcelJet? I commend that to you for your own research. The link to ROUNDDOWN will also take you to links to many other similar functions within the ExcelJet website.
Look at this image.
I'm not sure what you're doing either, but cell A1 displays 39 when what I've entered into that cell is =INT(39.792)
Or look at this: when 39.999 has been entered.
I don't know if there's a default set somewhere in your system that is leading to "rounding up" (I can find no setting in Preferences to do that, for what it's worth).
In any event, there is a function called ROUNDDOWN and it yields this:
By the way, have you noticed that the function names highlighted in blue, both in the paragraph above and in the prior message, are hyperlinks taking you to a really good resource called ExcelJet? I commend that to you for your own research. The link to ROUNDDOWN will also take you to links to many other similar functions within the ExcelJet website.
By the way, I'm also using Excel on a Mac, which I notice you are using. I have a subscription to Microsoft 365 and Excel version 16.84.
None of that should make any difference, but it strikes me as odd that you said DATEDIF didn't work at all. (Of course, the whole sequence is odd, since INT should have produced the lower number as well!!)