Hi, can anyone come up with a formula I could place in C76 that would give me the mid point between a set of numbers? At the moment I'm doing it manually and sometimes I forget..
What I need is to spilt the numbers as evenly as possible in Column D into two groups, either high or low dependant on the mid point. I tried adding them together and dividing but that doesn't give a correct answer, at least it didn't in the test I ran. In the mini sheet example, 18 in C76 splits the 34 numbers into 17 high and 17 low.
Many thanks.
What I need is to spilt the numbers as evenly as possible in Column D into two groups, either high or low dependant on the mid point. I tried adding them together and dividing but that doesn't give a correct answer, at least it didn't in the test I ran. In the mini sheet example, 18 in C76 splits the 34 numbers into 17 high and 17 low.
Many thanks.
Barkway Park.xlsm | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | ✔ | HOLE | ||||
2 | ✔ | PLAYER | PAR | |||
3 | ✔ | S/I | ||||
4 | Brian ADAMS | High | ||||
5 | Linda ADAMS | High | ||||
6 | Jeff BATTERBEE | High | 34 | |||
7 | Nick BAXTER | Low | 17 | |||
8 | Chris BENNETT | High | ||||
9 | Richard BROMLEY | High | ||||
10 | Kellie CURT | High | 30 | |||
11 | Sean CURT | Low | 13 | |||
12 | Rob DAVEY | High | ||||
13 | Paul DERBYSHIRE | High | 19 | |||
14 | Rob DONNELLY | Low | 15 | |||
15 | Nic DOWNER | High | ||||
16 | Bob FORDE | Low | 17 | |||
17 | Darryl FORNES | High | 20 | |||
18 | Rick GARVEY | Low | 3 | |||
19 | Dan GELLMAN | Low | 10 | |||
20 | Peter GIBOIN | High | ||||
21 | Tony GROUT | High | 20 | |||
22 | David HAMMOND | High | ||||
23 | Mark HARVEY | Low | 13 | |||
24 | Brian HIMSWORTH | Low | 16 | |||
25 | Chris HODGES | High | ||||
26 | Shane JENKINS | Low | 17 | |||
27 | Tony JUN | High | 33 | |||
28 | Andrew KEEN | Low | 14 | |||
29 | Steve KIDD | High | 19 | |||
30 | Mike KNOTT | High | 23 | |||
31 | Darren KOLEK | High | 20 | |||
32 | James KOLEK | High | ||||
33 | Kevin LEECH | Low | 11 | |||
34 | Steve LEECH | High | 19 | |||
35 | John LEONARD | Low | 8 | |||
36 | Glenn LEWIS | High | ||||
37 | Scott LOOM | High | 21 | |||
38 | Trevor MANKTELOW | Low | 16 | |||
39 | John MARVESLEY | Low | 16 | |||
40 | Dan MCCARTHY | Low | 18 | |||
41 | Andy MCGILLIVRAY | High | 22 | |||
42 | Frank MCKENZIE | High | ||||
43 | Alan MITCHELL | High | ||||
44 | Daniel MOSS | High | ||||
45 | Tony MUNTING | Low | 18 | |||
46 | Steve PEARCE | High | 35 | |||
47 | Stewart PEARCE | High | 30 | |||
48 | Keith PYM | High | 21 | |||
49 | Steve ROGERS | High | ||||
50 | Richard SMITH | High | ||||
51 | Steve SMITH | High | 22 | |||
52 | John TAYLOR | High | ||||
53 | Gary THORPE | High | ||||
54 | Peter VALENTINE | High | ||||
55 | Martin VANN | High | ||||
56 | Kevin WHARTON | High | ||||
57 | Stuart WILLS | Low | 18 | |||
58 | Duncan Clarke | High | ||||
59 | Jim Clewley | High | ||||
60 | Denis Cronin | High | ||||
61 | James Curt | High | ||||
62 | Debbie Kolek | High | ||||
63 | Tony Magana | High | ||||
64 | Stewart McClean | High | ||||
65 | Martin Noons | High | ||||
66 | Martin Pickles | High | ||||
67 | Peter Simmonds | High | ||||
68 | Derek Warren | High | ||||
69 | Ron Weeks | High | 34 | |||
70 | Julian Wood | High | ||||
71 | Simon Woodford | High | ||||
72 | ||||||
73 | 34 | Number of Players | ||||
74 | 0 | SKINS | 17 | High | ||
75 | 68 | 17 | Low | |||
76 | 18 | |||||
Master |
Cell Formulas | ||
---|---|---|
Range | Formula | |
C4:C71 | C4 | =IF(D4:D71<=$C$76,"Low","High") |
A1:A3 | A1 | ="✔" |
A4:A71 | A4 | =IF(COUNTIF(playlist!$D$6:$D$63,B4)=1,1,0) |
D4:D71 | D4 | =IF(A4=1,Handicaps!M4,"") |
A73 | A73 | =SUM(A4:A71) |
A74 | A74 | =COUNTIF(AQ4:AQ71,">0") |
A75 | A75 | =COUNT(A4:A71) |
C74 | C74 | =COUNTIFS($A$4:$A$71,"1",$C$4:$C$71,"High") |
C75 | C75 | =COUNTIFS($A$4:$A$71,"1",$C$4:$C$71,"Low") |
Dynamic array formulas. |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
A1:AR1,B2:AQ2,B3:AZ3,BB2:BD3,BA1:BE1,BF1:BI3,B4:BI71 | Expression | =ROW()=CELL("row") | text | NO |
A4:A71 | Other Type | Icon set | NO |