+ Reply to Thread
Results 1 to 8 of 8

I need an IF formula for a class assignment, maybe using the MIN function?

  1. #1
    Registered User
    Join Date
    11-05-2012
    Location
    Rome, New York
    MS-Off Ver
    Excel 2010
    Posts
    4

    I need an IF formula for a class assignment, maybe using the MIN function?

    The worksheet has golf scores, and I'm supposed to use an IF statement, where excel will display 1 for the player with the lowest score, and 0 for everyone else. I appreciate any help.

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

    Re: I need an IF formula for a class assignment, maybe using the MIN function?

    can you post a sample file?

  3. #3
    Registered User
    Join Date
    11-05-2012
    Location
    Rome, New York
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: I need an IF formula for a class assignment, maybe using the MIN function?

    Sorry, I don't have it with me. I know there's four players with total scores like: Cell B20 is 43, Cell C20 is 36, Cell D20 is41, and Cell E20 is 26. The directions said to use an IF function to determine which person had the lowest points. It needs to return a value of 1 for the lowest points (winner), and 0 to the other players.

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

    Re: I need an IF formula for a class assignment, maybe using the MIN function?

    Use this

    =INDEX($B$19:$E$19,MATCH(MIN(B20:E20),$B$20:$E$20,0))

  5. #5
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: I need an IF formula for a class assignment, maybe using the MIN function?

    you could try something like this

    in cell B21 =IF(AND(B20<=$B$20,B20<=$C$20,B20<=$D$20,B20<=$E$20),1,0)
    copy across to E21
    the "<=" allows for ties, and the self check is there to simplify the copy operation, you could take it out after you copy it across
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

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

    Re: I need an IF formula for a class assignment, maybe using the MIN function?

    Didn't see they want IF statement.

    =IF(B20=MIN($B$20:$E$20),B19,IF(MIN($B$20:$E$20)=C20,C19,IF(MIN($B$20:$E$20)=D20,D19,E19)))

  7. #7
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: I need an IF formula for a class assignment, maybe using the MIN function?

    still good, 3 separate ways to accomplish same goal

    -Edit- and I didn't see they wanted to use the MIN function...oops
    Last edited by dredwolf; 11-05-2012 at 08:46 PM.

  8. #8
    Registered User
    Join Date
    11-05-2012
    Location
    Rome, New York
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: I need an IF formula for a class assignment, maybe using the MIN function?

    Thanks to all who replied. I will try each suggestion. I'm new to this, but I can tell that I'm going to like excel!

+ 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