Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default IF functions - more than one condition

Below is my formula. For this part of the statement: IF(I5=2,E5/40*3, - I
need this to return a minimum number of 3 - can anyone tell me how to adjust
my existing formula to return 3 for this part of the formula (if it's result
is less than 3). Thank you.

=IF(I5="NORM",0,IF(I5=1,E5/8*E5,IF(I5=2,E5/40*3,IF(I5=3,I3/60*2))))
--
Laura R.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default IF functions - more than one condition

Maybe

=MAX( IF(I5=2,E5/40*3),3)

or the whole formula

=IF(I5="NORM",0,IF(I5=1,E5/8*E5,MAX( IF(I5=2,E5/40*3),3,IF(I5=3,I3/60*2))))

Mike

"Laura R." wrote:

Below is my formula. For this part of the statement: IF(I5=2,E5/40*3, - I
need this to return a minimum number of 3 - can anyone tell me how to adjust
my existing formula to return 3 for this part of the formula (if it's result
is less than 3). Thank you.

=IF(I5="NORM",0,IF(I5=1,E5/8*E5,IF(I5=2,E5/40*3,IF(I5=3,I3/60*2))))
--
Laura R.

  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default IF functions - more than one condition

For this part of the statement: IF(I5=2,E5/40*3, - I
need this to return a minimum number of 3


Try: IF(I5=2,MAX(3,E5/40*3),
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Laura R." wrote:
Below is my formula. For this part of the statement: IF(I5=2,E5/40*3, - I
need this to return a minimum number of 3 - can anyone tell me how to adjust
my existing formula to return 3 for this part of the formula (if it's result
is less than 3). Thank you.

=IF(I5="NORM",0,IF(I5=1,E5/8*E5,IF(I5=2,E5/40*3,IF(I5=3,I3/60*2))))
--
Laura R.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default IF functions - more than one condition

Hi,

In addition you may be able to simplify the formula as follows:

=IF(I5="NORM",,IF(I5=1,E5/8*E5,IF(I5=2,MAX(3,E5*0.075),I3*2/60)))

This way you drop the last IF, remove the 0 from the first if and replace a
multiplication and division with just a multiplication.

--
Cheers,
Shane Devenshire


"Laura R." wrote:

Below is my formula. For this part of the statement: IF(I5=2,E5/40*3, - I
need this to return a minimum number of 3 - can anyone tell me how to adjust
my existing formula to return 3 for this part of the formula (if it's result
is less than 3). Thank you.

=IF(I5="NORM",0,IF(I5=1,E5/8*E5,IF(I5=2,E5/40*3,IF(I5=3,I3/60*2))))
--
Laura R.

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
Functions expert€¦€¦€¦numbering random condition in a column JVANWORTH Excel Worksheet Functions 15 April 2nd 09 01:25 AM
lookup with multiple condition, but one condition to satisfy is en Eddy Stan Excel Worksheet Functions 2 October 27th 07 02:06 PM
Combine an OR condition with an AND condition Will Excel Discussion (Misc queries) 1 April 6th 07 03:52 PM
efficiency: database functions vs. math functions vs. array formula nickname Excel Discussion (Misc queries) 2 July 14th 06 04:26 AM
Condition 1 overules condition 2? Bultgren Excel Worksheet Functions 2 January 20th 06 12:29 PM


All times are GMT +1. The time now is 07:40 PM.

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"