#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default IF STATEMENT WITH OR

Hello friends,
I have 1 spreadsheet showing the following data:
A B C
UP(INR) UP(USD) CODE
1000 3750 ??

I need to get the CODE as 'RELEASED' if col A is <=1001 or col B is <=3751.
Actually either col A or col B will be filled one time.
thankyou very much in advance...
joji
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default IF STATEMENT WITH OR

With values in A1 and B1 and formula in C1

=IF(OR(AND(A10,A1<=1001),AND(B10,B1<=3751)),"Rel ease","")

the two conditions listed below

AND(A10,A1<=1001)
AND(B10,B1<=3751)

If this post helps click Yes
---------------
Jacob Skaria


"jojik" wrote:

Hello friends,
I have 1 spreadsheet showing the following data:
A B C
UP(INR) UP(USD) CODE
1000 3750 ??

I need to get the CODE as 'RELEASED' if col A is <=1001 or col B is <=3751.
Actually either col A or col B will be filled one time.
thankyou very much in advance...
joji

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default IF STATEMENT WITH OR

Hi,

Try this

=IF(OR(AND(A2<"",A2<=1001),AND(B2<"",B2<=3751)), "Released","")

Mike

"jojik" wrote:

Hello friends,
I have 1 spreadsheet showing the following data:
A B C
UP(INR) UP(USD) CODE
1000 3750 ??

I need to get the CODE as 'RELEASED' if col A is <=1001 or col B is <=3751.
Actually either col A or col B will be filled one time.
thankyou very much in advance...
joji

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 896
Default IF STATEMENT WITH OR

=IF(OR(A1<=1001,B1<=3751),"RELEASED","")

then copy

On 29 Kwi, 09:09, jojik wrote:
Hello friends,
I have 1 spreadsheet showing the following data:
* * A * * * * * B * * * * C
UP(INR) UP(USD) CODE
* 1000 * * *3750 * * *??

I need to get the CODE as 'RELEASED' if col A is <=1001 or col B is <=3751.
Actually either col A or col B will be filled one time.
thankyou very much in advance...
joji


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default IF STATEMENT WITH OR

this is working with me Jarek,
thank you very much..

"Jarek Kujawa" wrote:

=IF(OR(A1<=1001,B1<=3751),"RELEASED","")

then copy

On 29 Kwi, 09:09, jojik wrote:
Hello friends,
I have 1 spreadsheet showing the following data:
A B C
UP(INR) UP(USD) CODE
1000 3750 ??

I need to get the CODE as 'RELEASED' if col A is <=1001 or col B is <=3751.
Actually either col A or col B will be filled one time.
thankyou very much in advance...
joji





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 896
Default IF STATEMENT WITH OR

welcome
thks for the feedback

On 3 Maj, 06:50, jojik wrote:
this is working with me Jarek,
thank you very much..



"Jarek Kujawa" wrote:
=IF(OR(A1<=1001,B1<=3751),"RELEASED","")


then copy


On 29 Kwi, 09:09, jojik wrote:
Hello friends,
I have 1 spreadsheet showing the following data:
Â* Â* A Â* Â* Â* Â* Â* B Â* Â* Â* Â* C
UP(INR) UP(USD) CODE
Â* 1000 Â* Â* Â*3750 Â* Â* Â*??


I need to get the CODE as 'RELEASED' if col A is <=1001 or col B is <=3751.
Actually either col A or col B will be filled one time.
thankyou very much in advance...
joji- Ukryj cytowany tekst -


- Pokaż cytowany tekst -


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
Embedding an OR statement in an IF statement efficiently Chatnoir11 Excel Discussion (Misc queries) 4 February 2nd 09 08:12 PM
If statement or lookup statement not sure Renegade40 Excel Worksheet Functions 2 January 18th 09 06:11 AM
Sum if statement with a left statement Eric D Excel Discussion (Misc queries) 4 July 23rd 08 05:31 PM
SUMIF statement with AND statement Eric D Excel Discussion (Misc queries) 2 July 14th 08 07:24 PM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM


All times are GMT +1. The time now is 02:35 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"