Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to create a formula with multiple (IF) conditions
HEllo,
Could you please help me creating a formula with multiple conditions? IF "A3" greater than 100 and less or equal than 200, then ("A3"*"A5"-"A9"); IF "A3" greater than 201 and less or equal than 150, then ("A3"*"A5"-"A9"); IF "A3" greater than 151 and less or equal than 200, then ("A3"*"A5"-"A9"); IF "A3" greater than 201 and less or equal than 300, then ("A3"*"A5"-"A9"); Thanks for your help |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to create a formula with multiple (IF) conditions
Jimmy
Since the results are all same..there is no need of conditions... If this post helps click Yes --------------- Jacob Skaria "jimmy" wrote: HEllo, Could you please help me creating a formula with multiple conditions? IF "A3" greater than 100 and less or equal than 200, then ("A3"*"A5"-"A9"); IF "A3" greater than 201 and less or equal than 150, then ("A3"*"A5"-"A9"); IF "A3" greater than 151 and less or equal than 200, then ("A3"*"A5"-"A9"); IF "A3" greater than 201 and less or equal than 300, then ("A3"*"A5"-"A9"); Thanks for your help |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to create a formula with multiple (IF) conditions
jimmy, The *then ("A3"*"A5"-"A9")* is the same for all 4 lines. Try: =IF(AND(A3100,A3<=300),(A3*A5)-A9,"not in range") Have a great day, Stan -- stanleydgromjr ------------------------------------------------------------------------ stanleydgromjr's Profile: http://www.thecodecage.com/forumz/member.php?userid=503 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=115770 |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to create a formula with multiple (IF) conditions
Just one IF will do...
=IF(AND(A3100,A3<=300),A3*(A5-A9),"") OR =IF(AND(A3100,A3<=300),(A3*A5)-A9,"") If this post helps click Yes --------------- Jacob Skaria "Jacob Skaria" wrote: Jimmy Since the results are all same..there is no need of conditions... If this post helps click Yes --------------- Jacob Skaria "jimmy" wrote: HEllo, Could you please help me creating a formula with multiple conditions? IF "A3" greater than 100 and less or equal than 200, then ("A3"*"A5"-"A9"); IF "A3" greater than 201 and less or equal than 150, then ("A3"*"A5"-"A9"); IF "A3" greater than 151 and less or equal than 200, then ("A3"*"A5"-"A9"); IF "A3" greater than 201 and less or equal than 300, then ("A3"*"A5"-"A9"); Thanks for your help |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
How to create a formula with multiple (IF) conditions
Just to note
assume a3 = 5 assume a5 = 4 assume a9 = 2 =A3*(A5-A9) = 5*(4-2) = 5*2 = 10 =(A3*A5)-A9 = (5*4)-2 = 20-2= 18 I'm assuming that you know this already -- Wag more, bark less "Jacob Skaria" wrote: Just one IF will do... =IF(AND(A3100,A3<=300),A3*(A5-A9),"") OR =IF(AND(A3100,A3<=300),(A3*A5)-A9,"") If this post helps click Yes --------------- Jacob Skaria "Jacob Skaria" wrote: Jimmy Since the results are all same..there is no need of conditions... If this post helps click Yes --------------- Jacob Skaria "jimmy" wrote: HEllo, Could you please help me creating a formula with multiple conditions? IF "A3" greater than 100 and less or equal than 200, then ("A3"*"A5"-"A9"); IF "A3" greater than 201 and less or equal than 150, then ("A3"*"A5"-"A9"); IF "A3" greater than 151 and less or equal than 200, then ("A3"*"A5"-"A9"); IF "A3" greater than 201 and less or equal than 300, then ("A3"*"A5"-"A9"); Thanks for your help |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Create a formula with conditions | Excel Worksheet Functions | |||
How to create a formula that meets 2 different conditions... | Excel Discussion (Misc queries) | |||
How do I create a formula that has circular conditions? | Excel Discussion (Misc queries) | |||
How do create a formula to evalute a # to return 1 of 4 conditions | Excel Worksheet Functions | |||
Create a total based on multiple conditions is not giving correct. | Excel Worksheet Functions |