A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

If function and a range



 
 
Thread Tools Display Modes
  #1  
Old March 16th, 2010, 04:04 PM posted to microsoft.public.excel.worksheet.functions
mrsatroy
external usenet poster
 
Posts: 7
Default 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  
Old March 16th, 2010, 04:16 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default 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  
Old March 16th, 2010, 04:16 PM posted to microsoft.public.excel.worksheet.functions
Bob Phillips[_3_]
external usenet poster
 
Posts: 489
Default 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  
Old March 16th, 2010, 04:28 PM posted to microsoft.public.excel.worksheet.functions
francis
external usenet poster
 
Posts: 119
Default 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  
Old March 16th, 2010, 05:07 PM posted to microsoft.public.excel.worksheet.functions
Bob Phillips[_3_]
external usenet poster
 
Posts: 489
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:21 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.