Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Simple excel formula.... what am I doin wrong????

  • 12-04-2010 9:21am
    #1
    Registered Users, Registered Users 2 Posts: 1,536 ✭✭✭


    Hi All
    Simple question.
    What the fcuk is wrong with this formula
    =IF(E17>G17 AND E17>I17,1,0)
    Its a simple check to see if E17 is larger than the other two values.
    Drivin me MAD!!!

    Cheers

    HB


Comments

  • Registered Users, Registered Users 2 Posts: 937 ✭✭✭Diddy Kong


    You need to move the AND function, like: =IF(AND(E17>G17, E17>I17),1,0)

    More information here.


  • Registered Users, Registered Users 2 Posts: 1,093 ✭✭✭KAGY


    Diddy Kong wrote: »
    You need to move the AND function, like: =IF(AND(E17>G17, E17>I17),1,0)

    More information here.

    Yep, all function in excel, including boolean operators need their variables in brackets and separated by commas.

    In this case here you don't even need the if statement,
    =AND(E17>G17, E17>I17)
    will return TRUE or FALSE (you can even use this cell in a calculation where TRUE is taken as 1 and FALSE as 0)


Advertisement