PC Review


Reply
Thread Tools Rate Thread

Banker's Rounding - need help!

 
 
Somecallmejosh
Guest
Posts: n/a
 
      20th Jan 2005
I understand that Excel, unlike Access, will not do
Banker's Rounding. Ultimately, 1.05 under Banker's
Rounding will round to 1.0. Under traditional rounding,
it will round to 1.1.

I have tried subtracting .04 and then applying the
rounding procedure in Excel to acheive the same results.
However, numbers like 1.09, with the calculation will
yield a result of 1.05, which still rounds to 1.1. Is
there some other Mathematical means of achieving the
desired results in Excel.

Sincerely,
Josh
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SWFuUm95?=
Guest
Posts: n/a
 
      20th Jan 2005
Hi, josh;
Does ROUNDDOWN appear in your function list?
-IanRoy

"Somecallmejosh" wrote:

> I understand that Excel, unlike Access, will not do
> Banker's Rounding. Ultimately, 1.05 under Banker's
> Rounding will round to 1.0. Under traditional rounding,
> it will round to 1.1.
>
> I have tried subtracting .04 and then applying the
> rounding procedure in Excel to acheive the same results.
> However, numbers like 1.09, with the calculation will
> yield a result of 1.05, which still rounds to 1.1. Is
> there some other Mathematical means of achieving the
> desired results in Excel.
>
> Sincerely,
> Josh
>

 
Reply With Quote
 
Harlan Grove
Guest
Posts: n/a
 
      20th Jan 2005
Somecallmejosh wrote...
>I understand that Excel, unlike Access, will not do
>Banker's Rounding. Ultimately, 1.05 under Banker's
>Rounding will round to 1.0. Under traditional rounding,
>it will round to 1.1.
>
>I have tried subtracting .04 and then applying the
>rounding procedure in Excel to acheive the same results.
>However, numbers like 1.09, with the calculation will
>yield a result of 1.05, which still rounds to 1.1. Is
>there some other Mathematical means of achieving the
>desired results in Excel.


Banker's rounding is only applicable to rounding to N significant
digits when the N+1_th digit is a 5. So at 2 significant digits (N=2),
1.09 *should* round to 1.1, not 1.0. For that matter, 1.06 should also
round to 1.1. If you mean 1.0x should round to 1.0 while 1.1x should
round to 1.2 for any x in 0..9, you're not talking about bankers
rounding.

This has been discussed before. Check the Google Groups archives for
the Excel newsgroups.

 
Reply With Quote
 
ron
Guest
Posts: n/a
 
      20th Jan 2005
Somecallmejosh wrote:
> I understand that Excel, unlike Access, will not do
> Banker's Rounding. Ultimately, 1.05 under Banker's
> Rounding will round to 1.0. Under traditional rounding,
> it will round to 1.1.
>
> I have tried subtracting .04 and then applying the
> rounding procedure in Excel to acheive the same results.
> However, numbers like 1.09, with the calculation will
> yield a result of 1.05, which still rounds to 1.1. Is
> there some other Mathematical means of achieving the
> desired results in Excel.
>
> Sincerely,
> Josh

I don't have my excel with we, but the later versions of VBA do bankers
rounding.

Something like:

Function BRound (num, places) as double
BRound = Round (num, places)
End function

in a regular module should work

ron
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help!!! vbs:banker-b [trj] Trojan Bill & Debbie Anti-Virus 4 18th Jun 2006 04:03 PM
Banker.TX found...now what? =?Utf-8?B?RGVhbg==?= Spyware Discussion 6 2nd Mar 2006 06:52 PM
Re: Banker's Rounding by default, a big mistake !! Lloyd Dupont Microsoft Dot NET Framework 0 2nd Sep 2005 03:29 PM
w32/banker.g@pws ora Windows XP New Users 2 13th Jun 2004 10:21 PM
Banker's Rounding in Excel DocShock Microsoft Excel Misc 8 23rd Apr 2004 09:58 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:57 AM.