Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() I am trying to combine these 3 IF statements. Can't seem to get it to work. if q11="A" then 0 if q11="OK" and k11="Buy" then (N11-M11)*L11*100) otherwise (M11-O11)*L11*100) if q110 and k11="Buy" then (N11-r11)*L11*100) otherwise (r11-O11)*L11*100) ColQ can contain numbers or text. Thank you in advance |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(Q11="A",0,IF(AND(Q11="OK",K11="Buy"),(N11-M11)*L11*100,(M11-O11)*L11*100))
"carl" wrote: I am trying to combine these 3 IF statements. Can't seem to get it to work. if q11="A" then 0 if q11="OK" and k11="Buy" then (N11-M11)*L11*100) otherwise (M11-O11)*L11*100) if q110 and k11="Buy" then (N11-r11)*L11*100) otherwise (r11-O11)*L11*100) ColQ can contain numbers or text. Thank you in advance |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello carl, this isn't possible without guesswork unless you give more
information You have 2 "otherwises", which one applies if none of your conditions are met? "carl" wrote: I am trying to combine these 3 IF statements. Can't seem to get it to work. if q11="A" then 0 if q11="OK" and k11="Buy" then (N11-M11)*L11*100) otherwise (M11-O11)*L11*100) if q110 and k11="Buy" then (N11-r11)*L11*100) otherwise (r11-O11)*L11*100) ColQ can contain numbers or text. Thank you in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Combining IF statements | Excel Worksheet Functions | |||
combining IF and AND statements for multiple columns | Excel Discussion (Misc queries) | |||
Combining "AND" with "OR" Statements | Excel Worksheet Functions | |||
combining conditional statements | Excel Worksheet Functions | |||
Combining IF and multiple SUMIF statements, if A>0 & B is between | Excel Worksheet Functions |