Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
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(F3<2,"Fail",IF(F32,"Pass",IF(F316,"Fail",IF( F3<16,"Pass"))))
--
mrsatroy
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default If function and a range

=IF(F3<2,"Fail",IF(F32,"Pass",IF(F316,"Fail",IF (F3<16,"Pass"))))

Here's what your formula is "saying" :

=IF(AND(F32,F3<16),"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(F3<2,"Fail",IF(F32,"Pass",IF(F316,"Fail",IF( F3<16,"Pass"))))
--
mrsatroy



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 834
Default If function and a range

How about this

=IF(OR(216,F2<2),"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(F3<2,"Fail",IF(F32,"Pass",IF(F316,"Fail",IF( F3<16,"Pass"))))
--
mrsatroy



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 120
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(F3<2,"Fail",IF(F32,"Pass",IF(F316,"Fail",IF( F3<16,"Pass"))))
--
mrsatroy

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 834
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,F2<2),"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(F3<2,"Fail",IF(F32,"Pass",IF(F316,"Fail",IF( F3<16,"Pass"))))
--
mrsatroy





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Range of a function Daniel Excel Discussion (Misc queries) 3 September 18th 07 08:48 AM
Function Range Rich Excel Worksheet Functions 6 September 2nd 07 05:58 PM
DBSUM function but with function as criterion, not a range corne_mo Excel Worksheet Functions 3 July 13th 07 12:20 PM
range function Felicia Excel Discussion (Misc queries) 2 January 29th 07 06:10 PM
Between/ range function sanpanico Excel Discussion (Misc queries) 3 April 28th 05 10:25 PM


All times are GMT +1. The time now is 07:05 AM.

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

About Us

"It's about Microsoft Excel"