Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default process order with IF statement

I'm using the following to round to the nearest quarter UNLESS the
number is under 0.25, then it should display the actual number:

=IF((B49/173)< 0.25,ROUND((B49/173)/0.25,0)*0.25,B49/173)

If I substitute a simpler condition, the logic works. I'm thinking
this is a mathmatical order of events problem --

Any solutions????

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default process order with IF statement

I think your formula is doing the opposite of what you described.

=IF(B49/173< 0.25,B49/173,ROUND((B49/173)/0.25,0)*0.25)
or
=IF(B49/173< 0.25,B49/173,MROUND(B49/173,0.25))

If you have trouble with MROUND, look it up in Excel help.
--
David Biddulph

rebecca wrote:
I'm using the following to round to the nearest quarter UNLESS the
number is under 0.25, then it should display the actual number:

=IF((B49/173)< 0.25,ROUND((B49/173)/0.25,0)*0.25,B49/173)

If I substitute a simpler condition, the logic works. I'm thinking
this is a mathmatical order of events problem --

Any solutions????

Thanks



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
I don't know which funaction is the right and how it's process Alkhader Ali Alkhader Excel Discussion (Misc queries) 0 June 4th 08 06:35 PM
How stop Excel file UK date order changing to US order in m.merge Roger Aldridge Excel Discussion (Misc queries) 1 October 9th 07 11:52 PM
need to automate process sand Excel Discussion (Misc queries) 3 August 3rd 07 06:20 PM
If/then Process? Zane B Stein Excel Discussion (Misc queries) 1 December 20th 05 03:27 PM
Iterative process, bioyyy Excel Discussion (Misc queries) 5 December 1st 05 02:07 AM


All times are GMT +1. The time now is 11:39 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"