D
DarS
I have a query with a calculation that I would like to show rounded to the
next highest 1000. Any suggestions?
next highest 1000. Any suggestions?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Klatuu said:Assume x = 14327
x mod 1000 returns 327 (the remainder of dividing x by 1000)
subtract that from x
add 1000
This is the formula
= x - (x mod 1000) +1000
It returns 15000
DarS said:That is a thing of beauty. Works great ! Thank you!

Hey, that's my formula (give or take putting the negative on a different
term). :Þ
Now, now, gentlemen... let's not cause a negative atmosphere here! <bg>
John W. Vinson [MVP]

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.