+ Reply to Thread
Results 1 to 4 of 4

IF/OR Forumla. Am I using the correct one?

  1. #1
    Registered User
    Join Date
    01-17-2013
    Location
    Buffalo
    MS-Off Ver
    Excel 2010
    Posts
    3

    IF/OR Forumla. Am I using the correct one?

    I'm trying to write a formula that if B14 is equal to 3,4,5 or 6 then YES appears in B15, otherwise B15 is blank. I have tried IF,OR and cannot get it to work. Please help.

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

    Re: IF/OR Forumla. Am I using the correct one?

    hi seorms1021, welcome to the forum. try:
    =IF(OR(B14={3,4,5,6}),"YES","")

    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
    Registered User
    Join Date
    01-17-2013
    Location
    Buffalo
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: IF/OR Forumla. Am I using the correct one?

    Hi, thank you. I tried the formula on a blank worksheet and it works. I'm having issues getting it to work on my project spreadsheet. B14 is the result of a formula. While that formula is being used, the "YES" does not appear. However, if I override the formula in B14 and manually type 3,4,5 or 6, the "YES" formula works. Any thoughts?

  4. #4
    Registered User
    Join Date
    01-17-2013
    Location
    Buffalo
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: IF/OR Forumla. Am I using the correct one?

    I figured it out. The formula result in B14 was not rounding. It would appear a 5, but would technically be 4.999, so the "YES" formula did not recognize it. Thank you for your help benishiryo!!

+ 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