+ Reply to Thread
Results 1 to 5 of 5

IF function with 3 possible outcomes

  1. #1
    Registered User
    Join Date
    04-09-2012
    Location
    Preston, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    IF function with 3 possible outcomes

    I need to use an IF function but require 3 possible outcomes (if that makes sense)

    IF O2 > 8.5 = £125
    IF O2 < 8.5 BUT > 8.0 = £75
    IF O2 < 8.0 = £0

    Please could someone direct me on what I need to do, I have tried nested IF formula's but don't seem to be able to get it to work.


    Thanks in advance,

    Lee

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: IF function with 3 possible outcomes

    Try

    =IF(O2<8,0,IF(O2<8.5,75,125))

    and format as £

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: IF function with 3 possible outcomes

    Try =IF(O2>8.5, 125, IF(O2<8, 0, 75))

  4. #4
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: IF function with 3 possible outcomes

    You forgot to mention what happen when O2 = the criteria. Anyway, try the formula, and modify it based on your specifics.

    =IF(O2>=8.5,125,IF(AND(O2<8.5,O2>=8),75,IF(O2<8,0,"")))

  5. #5
    Registered User
    Join Date
    04-09-2012
    Location
    Preston, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: IF function with 3 possible outcomes

    Cheers all!!!! Sorted! :-)

+ 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