Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Pat
 
Posts: n/a
Default 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



  #2   Report Post  
RagDyeR
 
Posts: n/a
Default

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




  #3   Report Post  
 
Posts: n/a
Default

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

  #4   Report Post  
Pat
 
Posts: n/a
Default

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



  #5   Report Post  
RagDyeR
 
Posts: n/a
Default

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






  #6   Report Post  
Pat
 
Posts: n/a
Default

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






  #7   Report Post  
RagDyeR
 
Posts: n/a
Default

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







  #8   Report Post  
 
Posts: n/a
Default

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

  #9   Report Post  
Pat
 
Posts: n/a
Default

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



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
Amount or Numbers in Words ron New Users to Excel 6 December 24th 04 07:32 PM
Is there a formula to spell out a number in excel? Sha-nay-nay Excel Worksheet Functions 2 December 18th 04 09:25 PM
Convert Numeric into Text Monty Excel Worksheet Functions 0 December 18th 04 09:25 PM
Spellnumber Norman Jones Excel Worksheet Functions 6 December 13th 04 07:21 AM
Determning the ROW of a vlookup result Markshnier Excel Worksheet Functions 2 November 15th 04 01:57 PM


All times are GMT +1. The time now is 06:04 AM.

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

About Us

"It's about Microsoft Excel"