ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Result not being returned (https://www.excelbanter.com/excel-worksheet-functions/14054-result-not-being-returned.html)

Pat

Result not being returned
 
=IF(OR($J740,$K$22="QS"),0,$J74)

the above formula should display the value from J74 when QS is displayed in
K22
Could someone tell me why I am not getting a result.

Thanks




RagDyeR

Try this:

=IF(OR($J740,$K$22="QS"),$J74,0)
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"Pat" wrote in message
...
=IF(OR($J740,$K$22="QS"),0,$J74)

the above formula should display the value from J74 when QS is displayed in
K22
Could someone tell me why I am not getting a result.

Thanks





[email protected]

I am not sure what the "Or" is doing here, but try this
=IF(OR($J740,$K$22="QS"),$J74,0)
Ilan


Pat

Hi gentlemen,

A result is returned regardless if K22 contains QS or not. Something is not
right about this formula!

I am not sure what the "Or" is doing here


The formula has been broken down, this is where the OR comes from.


wrote in message
ups.com...
I am not sure what the "Or" is doing here, but try this
=IF(OR($J740,$K$22="QS"),$J74,0)
Ilan




[email protected]

Try =IF(OR($J740,$K$22="QS"),$J74,0)
Ilan


RagDyeR

If you want a return *only* when K22 contains "QS",
*AND* when J74 is greater then zero,
Change the "OR" to "AND",

=IF(AND($J740,$K$22="QS"),$J74,0)
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"Pat" wrote in message
...
Hi gentlemen,

A result is returned regardless if K22 contains QS or not. Something is not
right about this formula!

I am not sure what the "Or" is doing here


The formula has been broken down, this is where the OR comes from.


wrote in message
ups.com...
I am not sure what the "Or" is doing here, but try this
=IF(OR($J740,$K$22="QS"),$J74,0)
Ilan





Pat

Unless I need glasses -:) your suggestion is identical to your last post.
Pat

wrote in message
ups.com...
Try =IF(OR($J740,$K$22="QS"),$J74,0)
Ilan




Pat

Thank you RagDyeR that fixed it.

Cheers to both of you
Pat


"RagDyeR" wrote in message
...
If you want a return *only* when K22 contains "QS",
*AND* when J74 is greater then zero,
Change the "OR" to "AND",

=IF(AND($J740,$K$22="QS"),$J74,0)
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"Pat" wrote in message
...
Hi gentlemen,

A result is returned regardless if K22 contains QS or not. Something is

not
right about this formula!

I am not sure what the "Or" is doing here


The formula has been broken down, this is where the OR comes from.


wrote in message
ups.com...
I am not sure what the "Or" is doing here, but try this
=IF(OR($J740,$K$22="QS"),$J74,0)
Ilan







RagDyeR

Appreciate the feed-back.
--

Regards,

RD
--------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
--------------------------------------------------------------------

"Pat" wrote in message
...
Thank you RagDyeR that fixed it.

Cheers to both of you
Pat


"RagDyeR" wrote in message
...
If you want a return *only* when K22 contains "QS",
*AND* when J74 is greater then zero,
Change the "OR" to "AND",

=IF(AND($J740,$K$22="QS"),$J74,0)
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"Pat" wrote in message
...
Hi gentlemen,

A result is returned regardless if K22 contains QS or not. Something is

not
right about this formula!

I am not sure what the "Or" is doing here


The formula has been broken down, this is where the OR comes from.


wrote in message
ups.com...
I am not sure what the "Or" is doing here, but try this
=IF(OR($J740,$K$22="QS"),$J74,0)
Ilan









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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com