#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default if condition

plz advise how can u make an if condition rule were it does the following:
check the number in a cell (X) and if its <= (Y) have a result OK
if the number (X) is (Y)<=(X)=<(Z) have a result MAYBE
if the number (X) is =(A) have a result NOT OK,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default if condition

=IF(X1<=Y1,"OK",IF(X1<=Z1,"MAYBE","NOT OK"))

I am assuming that the MAYBE condition should include Y<X, not Y<=X, as
you've included the equality in the OK condition.
I am assuming also that the =A in the NOT OK condition should be Z,
otherwise you have a further outcome to define for Z and <A.
--
David Biddulph

"Omar" wrote in message
...
plz advise how can u make an if condition rule were it does the following:
check the number in a cell (X) and if its <= (Y) have a result OK
if the number (X) is (Y)<=(X)=<(Z) have a result MAYBE
if the number (X) is =(A) have a result NOT OK,



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default if condition

thanx alot

"David Biddulph" wrote:

=IF(X1<=Y1,"OK",IF(X1<=Z1,"MAYBE","NOT OK"))

I am assuming that the MAYBE condition should include Y<X, not Y<=X, as
you've included the equality in the OK condition.
I am assuming also that the =A in the NOT OK condition should be Z,
otherwise you have a further outcome to define for Z and <A.
--
David Biddulph

"Omar" wrote in message
...
plz advise how can u make an if condition rule were it does the following:
check the number in a cell (X) and if its <= (Y) have a result OK
if the number (X) is (Y)<=(X)=<(Z) have a result MAYBE
if the number (X) is =(A) have a result NOT OK,




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
lookup with multiple condition, but one condition to satisfy is en Eddy Stan Excel Worksheet Functions 2 October 27th 07 02:06 PM
Combine an OR condition with an AND condition Will Excel Discussion (Misc queries) 1 April 6th 07 03:52 PM
Condition Sum Gos-C Excel Worksheet Functions 3 February 17th 06 05:27 AM
Condition 1 overules condition 2? Bultgren Excel Worksheet Functions 2 January 20th 06 12:29 PM
How to set condition: A1=A2=A3= ... =A10 0-0 Wai Wai ^-^ Excel Worksheet Functions 9 December 12th 05 02:47 PM


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

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"