A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Rounding question



 
 
Thread Tools Display Modes
  #1  
Old November 14th, 2005, 04:17 PM
Helen
external usenet poster
 
Posts: n/a
Default Rounding question

Hello,

I have created a report that calculates how many shipping pallets is needed
for a particular shipment. I need the result to always round up.
Currently, if the result is 1.1 it rounds to 1... But I need it to always
round up, in this case to 2.

Any suggestions on how to do this?

Many thanks!

Helen


  #2  
Old November 14th, 2005, 04:29 PM
Allen Browne
external usenet poster
 
Posts: n/a
Default Rounding question

The Int() function rounds down, so you can round up by negating the result,
using Int() and then negating again.

Try:
= - Int( - [your calculation here])

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Helen" wrote in message
...

I have created a report that calculates how many shipping pallets is
needed
for a particular shipment. I need the result to always round up.
Currently, if the result is 1.1 it rounds to 1... But I need it to always
round up, in this case to 2.

Any suggestions on how to do this?

Many thanks!

Helen



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about reducing number of tables in a database tlyczko Database Design 0 October 27th, 2005 04:15 PM
Rounding Data Question sheabones Worksheet Functions 1 September 29th, 2005 08:20 PM
Search my question lost in the long list Shrikant General Discussion 3 August 26th, 2005 09:32 AM
How to gray-out a question dialog box S_Kaplan General Discussion 3 October 26th, 2004 12:11 AM
Designing a question paper Ken New Users 2 April 28th, 2004 10:13 PM


All times are GMT +1. The time now is 02:45 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.