+ Reply to Thread
Results 1 to 2 of 2

Formula that presents three outcomes

  1. #1
    Registered User
    Join Date
    08-11-2013
    Location
    Michigan
    MS-Off Ver
    Excel 2010
    Posts
    1

    Formula that presents three outcomes

    I have an excel spreadsheet in which I need a formula to generate one of three outcomes based on 4 cells.

    My three outcomes need to be win, loss, or draw. If the numbers of two of the cells is greater than the numbers in the other two, then it needs to display "win". If the opposite happens, it needs to display "loss". If either one cell exceeds, and the other one does not, then it needs to display "draw".

    I am able to get the "win" and "loss" displayed properly with the following formula =IF(AND(C1>C2,C3>C4) "win" "loss").

    I am unable to figure out how to incorporate the "draw" into this function to make this work.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Formula that presents three outcomes

    Hi and welcome to the forum

    You just need to add/next another IF() statement...

    =IF(AND(C1>C2,C3>C4) "win",if(and(C1<C2,C3<C4),"loss","draw"))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Using unique ID presents issues with users
    By DFitz in forum Excel General
    Replies: 2
    Last Post: 11-12-2012, 06:50 AM
  2. IF formula with multiple outcomes
    By warrenr6 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-23-2012, 01:30 PM
  3. Christmas presents balloting codes
    By yocin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-26-2010, 12:37 PM
  4. How to apply Formula for counting Presents (P) in excel
    By mmoazzamm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-12-2010, 04:21 AM
  5. If formula used for multiple outcomes
    By Scottiexcel in forum Excel General
    Replies: 1
    Last Post: 07-14-2009, 10:58 PM

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