Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default OR & IF functions


=IF(J5<=-11,3,IF(J5<=-6,2,IF(J5<=--5,1)))
Ok..I've gotten this formula to work so far...now I need an "OR" function in
this formula.
This is what I've been trying to get to work,
=IF(J5<=-11,3,IF(J5<=-6,2,IF(J5<=-5,1,OR(H5<=-4,3)))

but I can't get a read on the "OR" function I have added....I am stumped.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default OR & IF functions

One way, assuming I understand what you're trying to do (not sure, since
you didn't say what you actually wanted):

=IF(J5<=-11,3,IF(J5<=-6,2,IF(OR(J5<=-5,H5<=-4),1,3)))


In article ,
ExcelKillsMe wrote:

=IF(J5<=-11,3,IF(J5<=-6,2,IF(J5<=--5,1)))
Ok..I've gotten this formula to work so far...now I need an "OR" function in
this formula.
This is what I've been trying to get to work,
=IF(J5<=-11,3,IF(J5<=-6,2,IF(J5<=-5,1,OR(H5<=-4,3)))

but I can't get a read on the "OR" function I have added....I am stumped.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default OR & IF functions

Thank you so much for responding. I was a bit vague, wasn't I? I have that
habit...sorry!
Here's a copy of what I am trying to do....

H I J K L M
DifferencesDifferencesOverall Turnover Tunover Tier
Weekday Late Night % Status 1-2-3
-3 0 -9 55% OK 2
-4 8 -10 56% OK 2
-3 3 -8 67% OK 2
-1 0 -3 67% OK 1
-9 -4 -15 72% OK 3
3 2 -7 86% OK 2
-1 -1 -19 95% OK 3
-2 1 -10 97% OK 2
0 4 -8 100% OK 2
2 2 -13 108% OK 3
-2 0 -8 113% OK 2
-4 0 -11 117% OK 3
-1 -1 -3 122% Not OK 1
-4 2 -9 149% Not OK 2
0 1 -9 152% Not OK 2
3 2 -6 152% Not OK 2
-3 1 -15 167% Not OK 3
-1 0 -17 169% Not OK 3
1 3 -14 185% Not OK 3
-6 -3 -7 221% Not OK 2
-5 0 -6 244% Not OK 2

So...the formula I have now =IF(J5<=-11,3,IF(J5<=-6,2,IF(J5<=--5,1)))
resides in col M, and it is working. Now I need it to read OR if the value
in col H is <=-4, then a "3" should appear in M.

"JE McGimpsey" wrote:

One way, assuming I understand what you're trying to do (not sure, since
you didn't say what you actually wanted):

=IF(J5<=-11,3,IF(J5<=-6,2,IF(OR(J5<=-5,H5<=-4),1,3)))


In article ,
ExcelKillsMe wrote:

=IF(J5<=-11,3,IF(J5<=-6,2,IF(J5<=--5,1)))
Ok..I've gotten this formula to work so far...now I need an "OR" function in
this formula.
This is what I've been trying to get to work,
=IF(J5<=-11,3,IF(J5<=-6,2,IF(J5<=-5,1,OR(H5<=-4,3)))

but I can't get a read on the "OR" function I have added....I am stumped.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,202
Default OR & IF functions

Then I think you want to OR the new test with the other test that returns
3...

=IF(OR(J5<=-11,H<=-4),3,IF(J5<=-6,2,IF(J5<=--5,1)))

Rick


"ExcelKillsMe" wrote in message
...
Thank you so much for responding. I was a bit vague, wasn't I? I have
that
habit...sorry!
Here's a copy of what I am trying to do....

H I J K L M
DifferencesDifferencesOverall Turnover Tunover Tier
Weekday Late Night % Status 1-2-3
-3 0 -9 55% OK 2
-4 8 -10 56% OK 2
-3 3 -8 67% OK 2
-1 0 -3 67% OK 1
-9 -4 -15 72% OK 3
3 2 -7 86% OK 2
-1 -1 -19 95% OK 3
-2 1 -10 97% OK 2
0 4 -8 100% OK 2
2 2 -13 108% OK 3
-2 0 -8 113% OK 2
-4 0 -11 117% OK 3
-1 -1 -3 122% Not OK 1
-4 2 -9 149% Not OK 2
0 1 -9 152% Not OK 2
3 2 -6 152% Not OK 2
-3 1 -15 167% Not OK 3
-1 0 -17 169% Not OK 3
1 3 -14 185% Not OK 3
-6 -3 -7 221% Not OK 2
-5 0 -6 244% Not OK 2

So...the formula I have now =IF(J5<=-11,3,IF(J5<=-6,2,IF(J5<=--5,1)))
resides in col M, and it is working. Now I need it to read OR if the
value
in col H is <=-4, then a "3" should appear in M.

"JE McGimpsey" wrote:

One way, assuming I understand what you're trying to do (not sure, since
you didn't say what you actually wanted):

=IF(J5<=-11,3,IF(J5<=-6,2,IF(OR(J5<=-5,H5<=-4),1,3)))


In article ,
ExcelKillsMe wrote:

=IF(J5<=-11,3,IF(J5<=-6,2,IF(J5<=--5,1)))
Ok..I've gotten this formula to work so far...now I need an "OR"
function in
this formula.
This is what I've been trying to get to work,
=IF(J5<=-11,3,IF(J5<=-6,2,IF(J5<=-5,1,OR(H5<=-4,3)))

but I can't get a read on the "OR" function I have added....I am
stumped.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default OR & IF functions

Thanks...you guys are spot on!
--
EKM


"Rick Rothstein (MVP - VB)" wrote:

Then I think you want to OR the new test with the other test that returns
3...

=IF(OR(J5<=-11,H<=-4),3,IF(J5<=-6,2,IF(J5<=--5,1)))

Rick


"ExcelKillsMe" wrote in message
...
Thank you so much for responding. I was a bit vague, wasn't I? I have
that
habit...sorry!
Here's a copy of what I am trying to do....

H I J K L M
DifferencesDifferencesOverall Turnover Tunover Tier
Weekday Late Night % Status 1-2-3
-3 0 -9 55% OK 2
-4 8 -10 56% OK 2
-3 3 -8 67% OK 2
-1 0 -3 67% OK 1
-9 -4 -15 72% OK 3
3 2 -7 86% OK 2
-1 -1 -19 95% OK 3
-2 1 -10 97% OK 2
0 4 -8 100% OK 2
2 2 -13 108% OK 3
-2 0 -8 113% OK 2
-4 0 -11 117% OK 3
-1 -1 -3 122% Not OK 1
-4 2 -9 149% Not OK 2
0 1 -9 152% Not OK 2
3 2 -6 152% Not OK 2
-3 1 -15 167% Not OK 3
-1 0 -17 169% Not OK 3
1 3 -14 185% Not OK 3
-6 -3 -7 221% Not OK 2
-5 0 -6 244% Not OK 2

So...the formula I have now =IF(J5<=-11,3,IF(J5<=-6,2,IF(J5<=--5,1)))
resides in col M, and it is working. Now I need it to read OR if the
value
in col H is <=-4, then a "3" should appear in M.

"JE McGimpsey" wrote:

One way, assuming I understand what you're trying to do (not sure, since
you didn't say what you actually wanted):

=IF(J5<=-11,3,IF(J5<=-6,2,IF(OR(J5<=-5,H5<=-4),1,3)))


In article ,
ExcelKillsMe wrote:

=IF(J5<=-11,3,IF(J5<=-6,2,IF(J5<=--5,1)))
Ok..I've gotten this formula to work so far...now I need an "OR"
function in
this formula.
This is what I've been trying to get to work,
=IF(J5<=-11,3,IF(J5<=-6,2,IF(J5<=-5,1,OR(H5<=-4,3)))

but I can't get a read on the "OR" function I have added....I am
stumped.





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default OR & IF functions

=IF(OR(J5<=-11,H5<=-4),3,IF(J5<=-6,2,IF(J5<=-5,1,"Something else")))


--


Regards,


Peo Sjoblom



"ExcelKillsMe" wrote in message
...

=IF(J5<=-11,3,IF(J5<=-6,2,IF(J5<=--5,1)))
Ok..I've gotten this formula to work so far...now I need an "OR" function
in
this formula.
This is what I've been trying to get to work,
=IF(J5<=-11,3,IF(J5<=-6,2,IF(J5<=-5,1,OR(H5<=-4,3)))

but I can't get a read on the "OR" function I have added....I am stumped.



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default OR & IF functions

perfect...thank you so very much!
--
EKM


"Peo Sjoblom" wrote:

=IF(OR(J5<=-11,H5<=-4),3,IF(J5<=-6,2,IF(J5<=-5,1,"Something else")))


--


Regards,


Peo Sjoblom



"ExcelKillsMe" wrote in message
...

=IF(J5<=-11,3,IF(J5<=-6,2,IF(J5<=--5,1)))
Ok..I've gotten this formula to work so far...now I need an "OR" function
in
this formula.
This is what I've been trying to get to work,
=IF(J5<=-11,3,IF(J5<=-6,2,IF(J5<=-5,1,OR(H5<=-4,3)))

but I can't get a read on the "OR" function I have added....I am stumped.




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
formula/functions for average and if functions Petu71 Excel Worksheet Functions 2 August 5th 07 08:25 PM
XL2003 FILTER FUNCTIONS VS. XL2007 FILTER FUNCTIONS RET70168 Excel Worksheet Functions 0 June 15th 07 01:00 AM
efficiency: database functions vs. math functions vs. array formula nickname Excel Discussion (Misc queries) 2 July 14th 06 04:26 AM
Looking for a site with functions that substitute the ATP functions Franz Verga Excel Worksheet Functions 3 June 24th 06 04:30 AM
Nesting functions in the functions dialog box cs170a Excel Worksheet Functions 0 June 10th 05 10:36 PM


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