+ Reply to Thread
Results 1 to 3 of 3

Thread: What is the right character for "OR" for the IF function?

  1. #1
    Registered User
    Join Date
    08-07-2010
    Location
    Israel
    MS-Off Ver
    Excel 2010, Word 2010
    Posts
    3

    What is the right character for "OR" for the IF function?

    Hello everyone

    I'm studying an Excel course and I need to use the IF function for some employment table, like this:

    If cell E2(employment status) equals I34(salaried employee) OR I35(self-employed), then value_if_true=J36(employed), value_if_false=J38(unemployed). I just don't know what is the right character for "OR". I know that : is for through (cell x through cell y), + is for and (cell x plus cell y), and so on, but I couldn't for the life of me find what is the right one for "OR". Does anybody know?

    I'm using Office 2010, if it means anything.

    Any help will be greatly appreciated.
    Last edited by rfe777; 08-07-2010 at 08:25 AM.

  2. #2
    Forum Guru
    Join Date
    10-28-2008
    Location
    Not here anymore
    MS-Off Ver
    irrelevant
    Posts
    10,151

    Re: What is the right character for "OR" for the IF function?

    maybe

    =If(or($E$2=$I$34,$E$2=$I$35),$J$36,$J$38)

    or

    =If(or(E2=I34,E2=I35),J36,J38)

    Check and apply absolute or relative cell referencing according to your needs.

  3. #3
    Registered User
    Join Date
    08-07-2010
    Location
    Israel
    MS-Off Ver
    Excel 2010, Word 2010
    Posts
    3

    Re: What is the right character for "OR" for the IF function?

    Thanks for your help teylyn. It works!!!

+ 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.2.0