If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
If function and a range
I have the following function and it is only half working for me as my
arguements seem to contradict one another as I want to see if my number falls within a specified range. Any suggestions appreciated =IF(F32,"Fail",IF(F32,"Pass",IF(F316,"Fail",IF( F316,"Pass")))) -- mrsatroy |
#2
|
|||
|
|||
If function and a range
=IF(F32,"Fail",IF(F32,"Pass",IF(F316,"Fail",IF (F316,"Pass"))))
Here's what your formula is "saying" : =IF(AND(F32,F316),"Pass","Fail") -- Biff Microsoft Excel MVP "mrsatroy" wrote in message ... I have the following function and it is only half working for me as my arguements seem to contradict one another as I want to see if my number falls within a specified range. Any suggestions appreciated =IF(F32,"Fail",IF(F32,"Pass",IF(F316,"Fail",IF( F316,"Pass")))) -- mrsatroy |
#3
|
|||
|
|||
If function and a range
How about this
=IF(OR(216,F22),"Fail","Pass") -- HTH Bob "mrsatroy" wrote in message ... I have the following function and it is only half working for me as my arguements seem to contradict one another as I want to see if my number falls within a specified range. Any suggestions appreciated =IF(F32,"Fail",IF(F32,"Pass",IF(F316,"Fail",IF( F316,"Pass")))) -- mrsatroy |
#4
|
|||
|
|||
If function and a range
would you describe what you want to achieve by providing an example?
-- Hope this help Please click the Yes button below if this post have helped answer your needs Thank You cheers, francis "mrsatroy" wrote: I have the following function and it is only half working for me as my arguements seem to contradict one another as I want to see if my number falls within a specified range. Any suggestions appreciated =IF(F32,"Fail",IF(F32,"Pass",IF(F316,"Fail",IF( F316,"Pass")))) -- mrsatroy |
#5
|
|||
|
|||
If function and a range
That first 2 should be F2 not just 2.
-- HTH Bob "Bob Phillips" wrote in message ... How about this =IF(OR(216,F22),"Fail","Pass") -- HTH Bob "mrsatroy" wrote in message ... I have the following function and it is only half working for me as my arguements seem to contradict one another as I want to see if my number falls within a specified range. Any suggestions appreciated =IF(F32,"Fail",IF(F32,"Pass",IF(F316,"Fail",IF( F316,"Pass")))) -- mrsatroy |
Thread Tools | |
Display Modes | |
|
|