+ Reply to Thread
Results 1 to 4 of 4

Formula Help with three logics

  1. #1
    Registered User
    Join Date
    04-30-2011
    Location
    Indian, TN
    MS-Off Ver
    Excel 2007
    Posts
    37

    Formula Help with three logics

    Please help me with the below formula;

    Say if

    A1=Cat and B1=Rat and C2>=80

    Then D2 should result the character "Y"
    if any of the values are different then D2 should result the character "N"

    I tried with the below formula in D2 but it results as "False" when I change the value in B1 as Dog rather than resulting a "N"
    =IF(A2="Cat",IF(B2="Rat",IF(C2>=80,"Y","N")))

    Thanks in advance!

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Formula Help with three logics

    hi ssanjju, you can try this instead:
    =IF(AND(A2="Cat",B2="Rat",C2>=80),"Y","N")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: Formula Help with three logics

    Hi ssanjju,

    Use this formula in cell D2 within the relevant sheet:

    =IF(AND(A1="Cat",B1="Rat",C2>=80),"Y","N")

    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  4. #4
    Registered User
    Join Date
    07-30-2012
    Location
    Hong Kong
    MS-Off Ver
    Excel 2016
    Posts
    13

    Re: Formula Help with three logics

    =IF(A1="Cat",IF(B1="Rat",IF(C2>=80,"Y","N")))

    You probably miss place you cell datas.
    But I wonder how would you use this formula.. XD

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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