LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default Simplify this formula

Hi,
I'm working on the value of cent which return to the value of 0 or 5 cents.
e.g. $0.03 = $0.05 or $0.08 = $0.10 etc. So use the following formula that
works for me.

B5 = $1.02
C5 =
IF(VALUE(RIGHT(TEXT(TRUNC(B5,2),"0.00"),1))5,TRUN C(B5,1)+0.1,IF(VALUE(RIGHT(TEXT(TRUNC(B5,2),"0.00" ),1))0,TRUNC(B5,1)+0.05,B5))
which is equal to $1.05

Can anyone help to make it shorter?

Thanks

 
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
Simplify Formula Mike Lewis Excel Worksheet Functions 1 July 4th 08 02:00 AM
Is there anyway to simplify this formula? rancher fred Excel Worksheet Functions 1 January 6th 07 09:29 PM
Simplify formula tjtjjtjt Excel Worksheet Functions 5 September 23rd 06 02:25 PM
simplify this formula Dave F Excel Worksheet Functions 5 August 7th 06 10:35 PM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM


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

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

About Us

"It's about Microsoft Excel"