Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Figuring Out the Low-Score Winner.

Figuring Out the Low-Score Winner

Written by Allen Wyatt (last updated November 4, 2021)
This tip applies to Excel 97, 2000, 2002, and 2003


1

Mike asked if there is a way to determine the low-score winner on a hole-by-hole basis in a golf game. He uses Excel to track the individual hole scores, but he needs to know who has the lowest unique score on each hole. (If there is a tie on a hole, then he doesn't need to know who was involved in the tie.)

In providing an answer, there are several assumptions that must be made. First, assume that the values 1-18 (for each golf hole) are in cells A2 through A19. Second, assume that the low-score winner will be noted in column B. Third, assume that there are four golfers playing, and that their names are in cells C1 through F1. This range (C1:F1) is named "GolferNames". Finally, the golf scores for each golfer are entered in cells C2 through F19.

With this structure used, there are any number of ways that the formula could be put together. I particularly like this formula, which should be placed in cell B2:

=IF(MIN(C2:F2)=SMALL(C2:F2,2),"There is a " &
TEXT(COUNTIF(C2:F2, MIN(C2:F2)),"0") & "-way tie",
INDEX(GolferNames,MATCH(MIN(C2:F2),C2:F2,0)))

This is a very long formula, and you should make sure that it is entered all on a single line. You can then copy the formula from B2 and paste it in B3 through B19.

If there is a tie (determined by comparing the results of the MIN function with the second lowest score, as returned by the SMALL function), then the formula returns "There is a 2-way tie", or whatever number is actually involved in a tie. If there is not a tie, then the INDEX function is used to retrieve the name of the golfer that had the lowest score for the hole.

This example used, of course, only four golfers. If there are more golfers involved, the only alterations to make involve changing the range covered by the GolferNames range and expanding all instances of C2:F2 in the formula to represent the actual range of golfer scores.

If you prefer to simply not list anything if there was a tie on a hole (i.e., don't say "There is a 2-way tie"), you can do so with this simplified version of the formula:

=IF(MIN(C2:F2)=SMALL(C2:F2,2),"",
INDEX(GolferNames,MATCH(MIN(C2:F2),
C2:F2,0)))

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2054) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Figuring Out the Low-Score Winner.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

AutoText Limits

Are there limits to AutoText entries in Word? If you are having problems saving entries, it may not be due to limits ...

Discover More

Opening Multiple Documents at Once

Word's Open dialog box provides many of the same file management functions as Windows Explorer does. One of the functions ...

Discover More

Preserving the Undo List

The undo list can be a lifesaver when working in a macro. Unfortunately, the undo list is not preserved when you run a ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (menu)

Retrieving the Last Value in a Column

Need to get at the last value in a column, regardless of how many cells are used within that column? You can apply the ...

Discover More

Averaging a Non-Contiguous Range

Figuring out how to average data that is in a contiguous range of cells is easy. When the data is spread over a group of ...

Discover More

Activating the Formula Bar with the Keyboard

Hate to take your hands off the keyboard while working on a worksheet? Here's one way to activate the Formula Bar without ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 + 2?

2021-06-05 16:38:32

Jim H Cruse

Allen, I like your web site, thank you. I also need the following formula to operate in a vertical situation where the names are listed in column C and descend to C48. I can't get the row version to work, not sure why. This is your formula.

=IF(MIN(C2:F2)=SMALL(C2:F2,2),"There is a " & TEXT(COUNTIF(C2:F2, MIN(C2:F2)),"0") & "-way tie", INDEX(GolferNames,MATCH(MIN(C2:F2),C2:F2,0)))

Any help you can provide would be very appreciated.
Thank you,
Jim


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.