Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default how do you change $42.79 to an even number ($42.80)

My program has to calculate a percentage recoverable and then this amount is
deducted from a maximum of 3 figures. My problem is that if the percentage
is an odd number, I will end up being out .01. What do I do to avoid this
problem?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 301
Default how do you change $42.79 to an even number ($42.80)

=EVEN(A1*100)/100
Bob Umlas
Excel MVP

"Jean9" wrote in message
...
My program has to calculate a percentage recoverable and then this amount
is
deducted from a maximum of 3 figures. My problem is that if the
percentage
is an odd number, I will end up being out .01. What do I do to avoid this
problem?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default how do you change $42.79 to an even number ($42.80)

Try this.

A1 = some number like 42.79

=ROUND(A1/0.02,0)*0.02

--
Biff
Microsoft Excel MVP


"Jean9" wrote in message
...
My program has to calculate a percentage recoverable and then this amount
is
deducted from a maximum of 3 figures. My problem is that if the
percentage
is an odd number, I will end up being out .01. What do I do to avoid this
problem?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default how do you change $42.79 to an even number ($42.80)

=ROUND(A1,1)

Format to 2 DP


Gord Dibben MS Excel MVP

On Tue, 2 Oct 2007 09:50:01 -0700, Jean9
wrote:

My program has to calculate a percentage recoverable and then this amount is
deducted from a maximum of 3 figures. My problem is that if the percentage
is an odd number, I will end up being out .01. What do I do to avoid this
problem?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula to change scientific number to regular number or text Compare Values Excel Discussion (Misc queries) 2 August 23rd 07 06:10 PM
remove cr character from a + number and change number to - 159cr Cr character on numbers Excel Worksheet Functions 3 March 10th 06 10:34 PM
How do I change a number in one cell to change a series of cells? lance559 Excel Discussion (Misc queries) 2 January 13th 06 08:56 PM
How do I change a social security number to a number series? LCDawn Excel Discussion (Misc queries) 4 December 22nd 05 04:15 PM
change info in other cells when i change a number in a drop list? macbr549 Excel Discussion (Misc queries) 2 September 11th 05 02:07 AM


All times are GMT +1. The time now is 04:05 AM.

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

About Us

"It's about Microsoft Excel"