+ Reply to Thread
Results 1 to 6 of 6

condition formula result from depends upon 3 cell values with conditions

  1. #1
    Forum Contributor
    Join Date
    07-23-2013
    Location
    bangalore
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    143

    condition formula result from depends upon 3 cell values with conditions

    Dear experts

    Here I Tried One Formula But It Could Nt Work Properly I Want Improve This Formula With Multiple Conditions.
    Here Conditions ,If Zone Is ""A"", If Business Is ""Nd"", If Total Hours Less Than =1 I want result Is "Hit Target" Or If Total Hours More Than 1 I want result Is "Miss Target".
    Other Conditions If Zone Is Other Than ""A"" If(B,C,D,), (Or )If Business Is Other Than ""ND
    If(2BD,3BD,4BD,5BD) If Total Hours Less Than 2 Hours Is Hit Target Or If Total Hours More Than 2 Hours Is Miss Target..........
    Main One Conidition Is Calculate Total Days If Open Days Is Saturday - Sunday Should Not Be Include In Formula....Direct Calculate With Monday


    please find the attachment...


    thanks
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,739

    Re: condition formula result from depends upon 3 cell values with conditions

    AND(A2<>"A",B2<>"ND",Hours<2) Hit Target
    OR
    AND( A2="A", B2="ND", hours<1) Hit target

    These following two conditions are not needed , as if the condition above is not meet, then it must be a miss
    AND(A2<>"A",B2<>"ND",Hours>2) miss target
    OR
    AND( A2="A", B2="ND", hours>1) Miss target


    What happens if it is eqaul to 1 or 2 hours
    Also not sure where you calculate the hours - as in your spreadsheet you have Days
    do you mean days or hours ?
    the formula is below and I have put Hours, instead of the cell , as not quite sure what you want

    IF ( OR(AND(A2<>"A",B2<>"ND",Hours<2), AND( A2="A", B2="ND", hours<1)) , "Hit Target", "Miss Target")
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    05-11-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: condition formula result from depends upon 3 cell values with conditions

    Quote Originally Posted by etaf View Post
    AND(A2<>"A",B2<>"ND",Hours<2) Hit Target
    OR
    AND( A2="A", B2="ND", hours<1) Hit target

    These following two conditions are not needed , as if the condition above is not meet, then it must be a miss
    AND(A2<>"A",B2<>"ND",Hours>2) miss target
    OR
    AND( A2="A", B2="ND", hours>1) Miss target


    What happens if it is eqaul to 1 or 2 hours
    Also not sure where you calculate the hours - as in your spreadsheet you have Days
    do you mean days or hours ?
    the formula is below and I have put Hours, instead of the cell , as not quite sure what you want

    IF ( OR(AND(A2<>"A",B2<>"ND",Hours<2), AND( A2="A", B2="ND", hours<1)) , "Hit Target", "Miss Target")
    You can just put F2 instead of hours, and let him decide whether it is hours or days.

  4. #4
    Forum Contributor
    Join Date
    07-23-2013
    Location
    bangalore
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    143

    Re: condition formula result from depends upon 3 cell values with conditions

    Dude


    It doesnt give expected result , i make clear what am i looking for ...

    I calculate days From OPEN & CLOSE Dates So From Result of days.

    If Zone is A and Business is ND if Caculate Days <= one day i want result "HIT TARGET"
    IF ZONE IS A AND BUSINESS IS ND IF CALCAULTE DAYS MORE THAN ONE DAY I WANT RESULT "MISS TARGET"
    IF ZONE IS OTHER THAN B,OR C,OR D IF BUSINESS IF 2BD,OR 3BD,OR 4BD,OR 5BD IF CALCUALTE DAYS LESS THAN EQUAL 2 I WANT RESULT "HIT TARGET" IF CALCUALTE HOURS MORE THAN 2 DAYS I WANT RESULT MISS TARGET

    IF ZONE IS A AND BUSINESS IS IF 2BD,OR 3BD,OR 4BD,OR 5BD IF CALCUALTE DAYS LESS THAN EQUAL 2 I WANT RESULT "HIT TARGET" IF CALCUALTE HOURS MORE THAN 2 DAYS I WANT RESULT "MISS TARGET"

    IF ZONE IS B,OR C,OR D BUSINESS IS ND IF CALCUALTE DAYS LESS THAN EQUAL 2 I WANT RESULT "HIT TARGET" IF CALCUALTE HOURS MORE THAN 2 DAYS I WANT RESULT "MISS TARGET"



    I WANT FORMULA FOR THOSE CONDITION


    PLS HELP ME...........................

  5. #5
    Forum Contributor
    Join Date
    07-23-2013
    Location
    bangalore
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    143

    Re: condition formula result from depends upon 3 cell values with conditions

    any one help on this?

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,739

    Re: condition formula result from depends upon 3 cell values with conditions

    i have tried this for a Hit
    =OR( AND(A2="A",B2="ND", F2<=1), AND(A2="A", F2<=2, OR(B2="2BD",B2="3BD",B2="4BD",B2="5BD")), AND(F2<=2, OR( A2="B",A2="C",A2="D"), OR(B2="2BD",B2="3BD",B2="4BD",B2="5BD")))

    and it does not seem to work for your row 7 or 12

    so not sure I have the rules correct

    just looking at what should be a HIT
    Please Login or Register  to view this content.
    Last edited by etaf; 07-29-2013 at 07:36 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. If condition for dates in range result depends upon changes of date
    By breadwinner in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-11-2013, 08:26 AM
  2. [SOLVED] Help for if condition formula result only either hit or miss from mulitple condition
    By breadwinner in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-09-2013, 07:29 AM
  3. Replies: 10
    Last Post: 12-09-2011, 11:03 AM
  4. Matching Two Conditions and Copying a cell from a Matched condition Formula
    By falcons7 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-15-2009, 07:38 PM
  5. Replies: 12
    Last Post: 04-30-2008, 09:07 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1