Conditional Formatting for lowest ten scores

Chippy68

New Member
Joined
Feb 19, 2018
Messages
13
Hi Guys,

I run a few golf pools a year and have a pretty good spreadsheet that automates a lot of stuff (now if only I could tie into alive leaderboard). One of the things people want to see is their lowest 7 scores highlighted. I can total the lowest 7 using the SMALL function, but when using conditional formatting to highlight the lowest 7 it wont stop at 7 if there are ties for the lowest 7, which means it could potentially highlight 8 or 9 scores, which will cause me many unnecessary emails questioning things.

Example
Player Score
A 2
B 2
C 3
D 5
E 2
F 3
G -4
H -6
I -1
J 0
K -2
L -3

The lowest 7 scores from this selection would be -6,-4,-3,-2,-1,0,2......but there are two others scores that are 2, so when I format the lowest 7 to be highlighted, it includes those scores, but they are scores 8 and 9 and therefore they shouldn't be highlighted.

All you golf/excel peeps must be able to figure this one out.

Thanks in advance for any asistance.

Cheers
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
This is probably do-able but how exactly do you decide which of the 3 scores of exactly 2 are to be included in the lowest 7 ?
 
Upvote 0
It doesn't matter as long as it only highlights one of three of the "2's" in this scenario.

Hi,

Here're 2 ways, D2 formula will highlight First duplicated rank, E2 formula will highlight Last duplicated rank.

Use either for your CF Formula to highlight Column/Cells:


Book1
ABCDE
1PlayerScoreScoreB ColumnC Column
2A22TRUEFALSE
3B22FALSEFALSE
4C33FALSEFALSE
5D55FALSEFALSE
6E22FALSETRUE
7F33FALSEFALSE
8G-4-4TRUETRUE
9H-6-6TRUETRUE
10I-1-1TRUETRUE
11J00TRUETRUE
12K-2-2TRUETRUE
13L-3-3TRUETRUE
Sheet44
Cell Formulas
RangeFormula
D2=AND(RANK(B2,B$2:B$13,1)<=7,COUNTIF(B$2:B2,B2)=1)
E2=AND(RANK(C2,C$2:C$13,1)<=7,COUNTIF(C$2:C2,C2)=COUNTIF(C$2:C$13,C2))
 
Upvote 0
Thank You for this. Is the above example suggesting I need to add in a column D or E to run a true/false statement in order for the formula to work?

Line 2 in my spreadsheet is a black line which is where I plugged in the formula and made it relate to my cells and it didn't work. New to posting in here so I would be happy to add in a section of the worksheet to show you but I can't figure out how to.

Thanks
 
Upvote 0
No, You do Not need to add any Columns at all, I showed the Columns in my sample just to demonstrate that the logic is correct.

That's why I mentioned "Use either for your CF Formula to highlight Column/Cells"

Using my sample in Post #4 for reference (as I don't know how your data is laid out):

Assuming bottom 7 scores I want to highlight are within B2:B13,
Click B2, drag down to B13 (in other words, select B2:B13),
Click Conditional Formatting, click New Rule,
Select "Use a formula to..........."
Enter one of the formula of your choice from my post, or copy and paste,
Select Format, choose Fill, and Fill color, OK, OK

Keep in mind, you need to change the cell references in my formulas according to your data, if you need help with that, please let me know what Column and Range your data is in.
 
Upvote 0
Your help is amazing, but for some reason your formula isn't working, it might be me....

Can I email you the spreadsheet to have a look at with references to show you where I am looking to achieve this? If so, what is the easiest way to send it.

Thanks
 
Upvote 0
Can you show a screenshot and/or describe how and where your data is (with Column and Row references).

Otherwise, try uploading to a free file host like Dropbox.
 
Upvote 0
ABC
3Rory McIlroy-3
4
Jordan Spieth

<tbody>
</tbody>
-1
5Alex NorenMC
6
Danny Willett

<tbody>
</tbody>
MC
7
Jimmy Walker

<tbody>
</tbody>
1
8
Louis Oosthuizen

<tbody>
</tbody>
7
9
Charl Schwartzel

<tbody>
</tbody>
-6
10
Emiliano Grillo

<tbody>
</tbody>
12
11
Bill Haas

<tbody>
</tbody>
6
12
Kevin Chappell

<tbody>
</tbody>
-3
13
Ross Fisher

<tbody>
</tbody>
7
14
Zach Johnson

<tbody>
</tbody>
MC
15
Billy Hurley III

<tbody>
</tbody>
MC
16
Curtis Luck

<tbody>
</tbody>
9
17This Row has Black FillIn
18
Soren Kjeldsen

<tbody>
</tbody>
6

<tbody>
</tbody>

Sorry this looks so sloppy, would love to know how you get a nice spreadsheet in here like yours, I was unable to post a screen shot in here...

For the first and second rounds we don't include the bonus player (each round has its own worksheet), for the third and fourth the bonus player is available to count as one of your 7 best.

Let me know if you need more detail in this.
 
Upvote 0
A couple questions:

In your sample above, who's the "bonus player" that's Not to be counted until 3rd and 4th rounds? What round is this sample?
Since each round has it's own worksheet, then the CF formula would just need cell range references changed, should be a simple fix.

EDIT: look here for how to add attachments, I use the HTML Maker: https://www.mrexcel.com/forum/about-board/508133-attachments.html
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,922
Messages
6,122,281
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top