Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(G90,
AND(F9=E9,"HOLD", IF(F9<E9, OR(F9<E9*1.035,"SELL")))) not sure how to make this work =IF(G90,AND(F9=E9,"HOLD",IF(F9<E9,OR(F9<E9*1.035 ,"SELL")))) as one line it doesn't work how can I order it to where it will work thanks |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Not sure what you are trying to accomplish, parts of your formula don't make
sense. Tell us what you want, but not in formulaic terms: i.e.: First check if G9<0, if yes, do something, if no, do something else, etc. -- John C "Hillary: needing some help" wrote: =IF(G90, AND(F9=E9,"HOLD", IF(F9<E9, OR(F9<E9*1.035,"SELL")))) not sure how to make this work =IF(G90,AND(F9=E9,"HOLD",IF(F9<E9,OR(F9<E9*1.035 ,"SELL")))) as one line it doesn't work how can I order it to where it will work thanks |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Perhaps you should look at the help index for AND & OR to see the proper
syntax -- Don Guillett Microsoft MVP Excel SalesAid Software "Hillary: needing some help" m wrote in message ... =IF(G90, AND(F9=E9,"HOLD", IF(F9<E9, OR(F9<E9*1.035,"SELL")))) not sure how to make this work =IF(G90,AND(F9=E9,"HOLD",IF(F9<E9,OR(F9<E9*1.035 ,"SELL")))) as one line it doesn't work how can I order it to where it will work thanks |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
Try this =IF(AND(G90,F9E9),"Hold",IF(OR(F9<E9,F9<E9*1.035 ),"Sell","")) Mike "Hillary: needing some help" wrote: =IF(G90, AND(F9=E9,"HOLD", IF(F9<E9, OR(F9<E9*1.035,"SELL")))) not sure how to make this work =IF(G90,AND(F9=E9,"HOLD",IF(F9<E9,OR(F9<E9*1.035 ,"SELL")))) as one line it doesn't work how can I order it to where it will work thanks |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
thank you!!
"Mike H" wrote: Hi, Try this =IF(AND(G90,F9E9),"Hold",IF(OR(F9<E9,F9<E9*1.035 ),"Sell","")) Mike "Hillary: needing some help" wrote: =IF(G90, AND(F9=E9,"HOLD", IF(F9<E9, OR(F9<E9*1.035,"SELL")))) not sure how to make this work =IF(G90,AND(F9=E9,"HOLD",IF(F9<E9,OR(F9<E9*1.035 ,"SELL")))) as one line it doesn't work how can I order it to where it will work thanks |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I would recommend that you look at Excel help to remind yourself of the
syntax for Excel functions such as IF, AND, and OR. At present you are feeding text strings into the AND and OR functions, which are looking for Booleans (TRUE or FALSE) as inputs. I wonder whether what you intended may have been =IF(AND(G90,F9=E9),"HOLD",IF(OR(F9<E9,F9<E9*1.03 5),"SELL","whatever your alternative outcome is")) ? If you are indeed intending to use OR(F9<E9,F9<E9*1.035) as part of the test, then I assume that this is because E9 might not necessarily be positive, because if E9 is positive the F9<E9 test is redundant as it would always be satified if F9<E9*1.035 -- David Biddulph "Hillary: needing some help" m wrote in message ... =IF(G90, AND(F9=E9,"HOLD", IF(F9<E9, OR(F9<E9*1.035,"SELL")))) not sure how to make this work =IF(G90,AND(F9=E9,"HOLD",IF(F9<E9,OR(F9<E9*1.035 ,"SELL")))) as one line it doesn't work how can I order it to where it will work thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Combining Functions | Excel Discussion (Misc queries) | |||
Combining Functions | Excel Discussion (Misc queries) | |||
Combining functions AND and OR | Excel Worksheet Functions | |||
Combining IF OR and AND functions | Excel Worksheet Functions | |||
Combining functions | Excel Worksheet Functions |