Thread: golf scoring
View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.misc
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default golf scoring

Another one...

With a max player hdcp of 28...

B1 = players hdcp
A2:A19 = hole hdcp

Entered in B2 and copied down to B19:

=LOOKUP(B$1-A2,{-18,0,18},{0,1,2})


--
Biff
Microsoft Excel MVP


"raynerman" wrote in message
...
I have a scoring spreadsheet for tracking a golf competition. In it,
players
have a handicap (1-28) and each hole has a stroke index (1-18) which
signifies how easy each hole is (1 hard, 18 easy).

I am trying to work out a formula that assigns the right number of shots
each player based on the handicap and stroke index.

For example, if I have a handicap of 21, I will get 1 shot on all 18
holes,
and extra shot on the three hardest holes (those with SI of 1 to 3).

So the formula is to return a value of 0, 1 or 2.

Can anyone help? Thanks in advance!

Nigel