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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Roundup Function
I can get the roundup function to do what I need in Excel - it does not give
the same results in Access. Excel: =ROUNDUP(2161/36,0) Result is 61 in Excel. How can I get this to be 61 in Access. Access Query Line: Roundup([Bundles In Qty]/([Cases per Layer]*[Layers per Pallet]),0) [Bundles In Qty]=Number, Single, ,1 -- Data 2161 [Cases per Layer]=Number, Long, Standard, 0 -- Data 9 [Layers per Pallet]=Number, Long, Standard, 0 -- Data 4 Thanks -- A MACKENZIE, CMA, MBA |
#2
|
|||
|
|||
Roundup Function
Access doesn't have a RoundUp(). Try:
- Int(- [Bundles In Qty] / ([Cases per Layer] * [Layers per Pallet])) Explanation: http://allenbrowne.com/round.html#RoundUp -- 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. "aMack" wrote in message ... I can get the roundup function to do what I need in Excel - it does not give the same results in Access. Excel: =ROUNDUP(2161/36,0) Result is 61 in Excel. How can I get this to be 61 in Access. Access Query Line: Roundup([Bundles In Qty]/([Cases per Layer]*[Layers per Pallet]),0) [Bundles In Qty]=Number, Single, ,1 -- Data 2161 [Cases per Layer]=Number, Long, Standard, 0 -- Data 9 [Layers per Pallet]=Number, Long, Standard, 0 -- Data 4 Thanks -- A MACKENZIE, CMA, MBA |
#3
|
|||
|
|||
Roundup Function
Thanks - That did it.
-- A MACKENZIE, CMA, MBA "Allen Browne" wrote: Access doesn't have a RoundUp(). Try: - Int(- [Bundles In Qty] / ([Cases per Layer] * [Layers per Pallet])) Explanation: http://allenbrowne.com/round.html#RoundUp -- 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. "aMack" wrote in message ... I can get the roundup function to do what I need in Excel - it does not give the same results in Access. Excel: =ROUNDUP(2161/36,0) Result is 61 in Excel. How can I get this to be 61 in Access. Access Query Line: Roundup([Bundles In Qty]/([Cases per Layer]*[Layers per Pallet]),0) [Bundles In Qty]=Number, Single, ,1 -- Data 2161 [Cases per Layer]=Number, Long, Standard, 0 -- Data 9 [Layers per Pallet]=Number, Long, Standard, 0 -- Data 4 Thanks -- A MACKENZIE, CMA, MBA |
Thread Tools | |
Display Modes | |
|
|