+ Reply to Thread
Results 1 to 1 of 1

Banker's Rounding Pitfall

  1. #1
    Forum Contributor Gregor y's Avatar
    Join Date
    10-24-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2010 32-Bit
    Posts
    276

    Exclamation Banker's Rounding Pitfall

    Be aware when porting Round(,) from MS-Access 2013 that it does Banker's Rounding (aka round half to even):

    Round(0.00499,2)=0.00
    Round(0.00500,2)=0.00
    Round(0.00501,2)=0.01
    ...
    Round(0.00999,2)=0.01
    Round(0.01500,2)=0.02
    Round(0.01501,2)=0.02
    ...
    Round(0.01999,2)=0.02
    Round(0.02500,2)=0.02
    Round(0.02501,2)=0.03
    ...
    Round(0.02999,2)=0.03
    Round(0.03500,2)=0.04
    Round(0.03501,2)=0.04

    Ported to RoundUp environments:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Also Note: the above formula assumes you can *200 without overflow

    Moreover the field type/precision also can throw Access off:
    Please Login or Register  to view this content.
    Last edited by Gregor y; 08-03-2015 at 04:26 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. I want my worksheet to use Banker's Rounding
    By jplink49 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 03-05-2021, 03:21 AM
  2. MROUND Rounding Issues (Rounding Down, Not Up)
    By roundandout in forum Outlook Formatting & Functions
    Replies: 4
    Last Post: 06-16-2015, 10:39 PM
  3. [SOLVED] Rounding problems using lookup instead of rounding functions
    By thnkfree in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-18-2014, 06:21 PM
  4. Worksheet rounding vs VBA rounding
    By Simon Cleal in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-01-2005, 09:05 PM
  5. Best Book for an Investment Banker to Learn Excel
    By goldslap in forum Excel General
    Replies: 2
    Last Post: 06-01-2005, 10:05 AM
  6. Best Book for an Investment Banker to Learn Excel
    By goldslap in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-01-2005, 09:59 AM
  7. Banker's Rounding - need help!
    By Somecallmejosh in forum Excel General
    Replies: 3
    Last Post: 01-20-2005, 06:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1