PC Review


Reply
Thread Tools Rate Thread

Conditional Rounding Part deux

 
 
=?Utf-8?B?eWs=?=
Guest
Posts: n/a
 
      9th Jul 2007
How do I include $x.89 value in the below formula to add $0.05 with the $x.09
& $x.59 value?

> =INT((10*A1)+1)/10-0.01+(MOD(INT(A1*10)-(INT(A1)*10),5)=0)*0.05

 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9wcGVycw==?=
Guest
Posts: n/a
 
      9th Jul 2007
one way:

=INT((10*A1)+1)/10-0.01+OR(MOD(INT(A1*10)-(INT(A1)*10),5)=0,MOD(INT(A1*10)-(INT(A1)*10),8)=0)*0.05

"yk" wrote:

> How do I include $x.89 value in the below formula to add $0.05 with the $x.09
> & $x.59 value?
>
> > =INT((10*A1)+1)/10-0.01+(MOD(INT(A1*10)-(INT(A1)*10),5)=0)*0.05

 
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
#N/A part deux sixthhole Microsoft Excel Misc 4 17th Jan 2008 07:24 PM
Pics Part Deux TriplexDread General Discussion 4 30th Jul 2006 06:49 PM
Importing Part Deux =?Utf-8?B?cm95X3dhcmU=?= Microsoft Access External Data 3 6th Jan 2005 01:46 AM
Re: Re-installing Win XP HE (part deux) Alex Nichol Windows XP General 1 31st Jul 2004 03:51 PM
Re: Re-installing Win XP HE (part deux) jt3 Windows XP General 0 29th Jul 2004 07:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:59 PM.