Hi Roger
=IF(E18="","",IF((AND(D3>=D18,D3<28)),E18-1,IF(D3<D18,E18,IF(D3=28,E18-2))))
E18= gross score
D3 players handicap
D18= stroke index(lower the harder the hole plays)
This code is for a stroke index of 10, which reads
if gross score is blank,leave blank, if handicap is greater-equal and less
than 28 then say if gross score is 5 strokes it will return 4
if the handicap is less than the stroke index then the gross score entered
will remain the same
lastly if the handicap is 28 then gross score of 5 will return 3( this is if
a player has a handicap of 28 then he has an extra 1 shot on each hole plus
an additional shot for stroke index 1-10)
handicap of 19 will get 18 shots for card plus additional shot on SI 1
On my home card each stroke index has its own code which determines
variations to each handicap.
For my home course the above code is in relation to hole#6, but on another
course SI 10 could be on hole 8 or 17, so how would i apply each SI code to
be applied no matter what course details i input
I have tried to copy paste formula to another sheet and used
lookup(SI,range) but this did not work, is there a macro which would run this?
I am sorry to be a pain, and would like to thank you thus far
Regards
Bob