Ok guys I am working on an excel formula for football season and could use some help. I have attached the workbook and a pic so maybe you guys could give me a hand.
Lets take green bay for an example since they are in both screen shots.
I need to make a formula for column I (I will write sudo code for this)
Step #1 look at column C and see what G# it is. If it is G#1 then risk is B2 (100)
if G# =2 then I need to find the value of column K from G#1 of that team. so for example if we were on Row 12 and see the following
Week 4 Date 10-03-10 G# 2 Bet Team Green Bay HOME Vs Detroit
it would see that it was game #2 and check game #1 for GREEN BAY. So it would see that in row 4 green bay was the BET Team and Lost.
so under column I on Row 12 the sudo code formula would be G#1 profit + B2 * Line to get risk.
I also need a piece of code that once a game is scored as a win it removes all other games scheduled in the future from the schedule.
so for example if on Row 12 Green Bay won the game and covered once I clicked the drop down win it would
remove week 14's game from the schedule (You can see week 14's game from the 2nd pic).
If anyone could give me a hand on this I will throw you 100 SBR Points?
Matt
Lets take green bay for an example since they are in both screen shots.
I need to make a formula for column I (I will write sudo code for this)
Step #1 look at column C and see what G# it is. If it is G#1 then risk is B2 (100)
if G# =2 then I need to find the value of column K from G#1 of that team. so for example if we were on Row 12 and see the following
Week 4 Date 10-03-10 G# 2 Bet Team Green Bay HOME Vs Detroit
it would see that it was game #2 and check game #1 for GREEN BAY. So it would see that in row 4 green bay was the BET Team and Lost.
so under column I on Row 12 the sudo code formula would be G#1 profit + B2 * Line to get risk.
I also need a piece of code that once a game is scored as a win it removes all other games scheduled in the future from the schedule.
so for example if on Row 12 Green Bay won the game and covered once I clicked the drop down win it would
remove week 14's game from the schedule (You can see week 14's game from the 2nd pic).
If anyone could give me a hand on this I will throw you 100 SBR Points?
Matt