#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Formulas

I am trying to produce a spreadsheet for a golf society competition. I want
handicaps reduced each round based on the ranking of each competitor for that
round , eg

H'cap Points Position Total

Course 1 7 1

Course 2 5 2

Course 3 4

If a player comes first his handicap is reduced by 2, if second by 1, etc

How can I get the spreadsheet to look at the position cell, identify the
position, allocate the reduction based on that and then put it in the
handicap cell for course 2 by deducting that reduction from the handicap 1 ie
7 minus 2 for winning at course 1, 5 minus 1 for course 2 so that his new
handicap for course 3 will be four.

I have failed with both IF and LOOKUP! Any ideas most welcome

Geoff



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Formulas

Set up as below
A B C
hc Pos
C1 7 1
C2 5 2
C3 4 1

In B3 (Where it say 5) type

=IF(C2=1,B2-2,IF(C2=2,B2-1,B2))

Drag down as necessary in column B.

Mike




"Geoff Allen" wrote:

I am trying to produce a spreadsheet for a golf society competition. I want
handicaps reduced each round based on the ranking of each competitor for that
round , eg

H'cap Points Position Total

Course 1 7 1

Course 2 5 2

Course 3 4

If a player comes first his handicap is reduced by 2, if second by 1, etc

How can I get the spreadsheet to look at the position cell, identify the
position, allocate the reduction based on that and then put it in the
handicap cell for course 2 by deducting that reduction from the handicap 1 ie
7 minus 2 for winning at course 1, 5 minus 1 for course 2 so that his new
handicap for course 3 will be four.

I have failed with both IF and LOOKUP! Any ideas most welcome

Geoff



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Formulas

Mike,

Many thanks, works perfectly, simple when you know how!!

Thanks

Geoff

"Mike" wrote:

Set up as below
A B C
hc Pos
C1 7 1
C2 5 2
C3 4 1

In B3 (Where it say 5) type

=IF(C2=1,B2-2,IF(C2=2,B2-1,B2))

Drag down as necessary in column B.

Mike




"Geoff Allen" wrote:

I am trying to produce a spreadsheet for a golf society competition. I want
handicaps reduced each round based on the ranking of each competitor for that
round , eg

H'cap Points Position Total

Course 1 7 1

Course 2 5 2

Course 3 4

If a player comes first his handicap is reduced by 2, if second by 1, etc

How can I get the spreadsheet to look at the position cell, identify the
position, allocate the reduction based on that and then put it in the
handicap cell for course 2 by deducting that reduction from the handicap 1 ie
7 minus 2 for winning at course 1, 5 minus 1 for course 2 so that his new
handicap for course 3 will be four.

I have failed with both IF and LOOKUP! Any ideas most welcome

Geoff



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP Sherberg Excel Worksheet Functions 4 September 11th 07 01:34 AM
automatically copy formulas down columns or copy formulas all the HowlingBlue Excel Worksheet Functions 1 March 16th 07 11:11 PM
Formulas not evaluated, Formulas treated as strings Bob Sullentrup Excel Discussion (Misc queries) 0 November 27th 06 08:01 PM
Formulas zalien Excel Worksheet Functions 2 August 19th 06 05:47 PM
formulas for changing formulas? creativeops Excel Discussion (Misc queries) 4 January 26th 06 03:07 AM


All times are GMT +1. The time now is 04:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"