![]() |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
All times are GMT +1. The time now is 12:27 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com