Help needed with Win Penalty Formula

ctild

New Member
Joined
Jan 26, 2008
Messages
44
I’m having problems with my Win Penalty Formula.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<o:p></o:p>
I use a VB code to enter a trigger code of “1” in the corresponding Winners row, at Column “U”<o:p></o:p>
<o:p></o:p>
Below are the general parameters I’m working to. With an assumed working on Row 10<o:p></o:p>
<o:p></o:p>
General Play Penalties - in (“S10”)<o:p></o:p>
0 - if score of 37 or less.<o:p></o:p>
1 - If score of 38 or 39.<o:p></o:p>
2 - If score of 40 or more.<o:p></o:p>
3 - If score of 45 or more.<o:p></o:p>
4 - If score of 50 or more.<o:p></o:p>
<o:p></o:p>
Win Penalties in (“T10”)
1 deducted for a score of 35 points or less.<o:p></o:p>
2 deducted for a score of 36 points or more.<o:p></o:p>
<o:p></o:p>
But:
Only 1 deducted if already cut >=2 under General Play rules.<o:p></o:p>
Or -<o:p></o:p>
Only 1 deducted if Handicap is at 9 or less and if already cut >=1 under General Play rules. ####### This line is the problem area.<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
The Players Handicap are shown in (“F10”)<o:p></o:p>
<o:p></o:p>
The formulas I have already and work as required are:-<o:p></o:p>
<o:p></o:p>
In (“S10”) I have: “=IF(J10>=50,4,IF(J10>=45,3,IF(J10>=40,2,IF(J10>=38,1,IF(J10<=37,0)))))”<o:p></o:p>
<o:p></o:p>
In (“T10”) I have: “=IF(U10=1,(IF(S10>=2,1,IF(S10=1,2,IF(S10>=0,2)))),0)”<o:p></o:p>
<o:p></o:p>
But I can’t seem to introduce the last line of the Win Penalties into the Win Penalty formula in (“T10”).<o:p></o:p>
I.e. only cut 1 if their Handicap is in single figures. (<=9)<o:p></o:p>
<o:p></o:p>
Can anyone assist with this part of the formula?<o:p></o:p>
<o:p></o:p>
Thanks.<o:p></o:p>
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Hi,

Not sure if i understood correctly, but maybe this

T10
=IF(U10=1,IF(OR(S10>=2,AND(F10<=9,S10>=1)),1,IF(J10<=35,1,2)),0)

HTH

M.
 
Upvote 0
Thanks Marcelo Branco.

That works exactly as I needed.

I wasn't using OR, or AND correctly.

Your time is much appreciated.
 
Upvote 0

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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