![]() |
how do I get excel 2003 to round up
i have the following formula but i need the results to round up if there are
3 digits after the decimal point =IF(B3<=0," ",IF(B30,(D2+B3)*1.5%)) excample 8.011 would become 8.02 what do i need to add to this formula to make it do that? |
Try the following =IF(B3<=0," ",IF(B30,(ROUNDUP((D2+B3)*1.5%,2)))) Celtic_Avenger -- Celtic_Avenger ------------------------------------------------------------------------ Celtic_Avenger's Profile: http://www.excelforum.com/member.php...o&userid=14101 View this thread: http://www.excelforum.com/showthread...hreadid=273038 |
Guess what! With a function named ROUNDUP. But you don't need a 2nd IF
statement. If B3 is not <=0, it must be 0. =IF(B3<=0,"",ROUNDUP((D2+B3)*1.5%,2)) Or: =IF(B30,ROUNDUP((D2+B3)*1.5%,2),"") Check it out in Help if you need more information. Notice that I removed the space between your quote marks, too. On Wed, 27 Oct 2004 17:27:01 -0700, eric p wrote: i have the following formula but i need the results to round up if there are 3 digits after the decimal point =IF(B3<=0," ",IF(B30,(D2+B3)*1.5%)) excample 8.011 would become 8.02 what do i need to add to this formula to make it do that? |
All times are GMT +1. The time now is 05:13 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com