Football Statistics Yardage

Hoolix21

New Member
Joined
Sep 20, 2011
Messages
4
I have a Workbook with several spreadsheets in it that I use to stat our games. With the help of someone on this board I was able to create this; sorry I don't recall whom it was, but it was whomever listed the sheets with SUMPRODUCT for football. Now I am trying to add a little convience to this spreadsheet so that it auto fills in the yard line that the ball is on from the result of the play. For instance We have the ball on our OWN 35 and complete a 16 yard pass. Now the ball would lie on the OPP 49, though excel would say 35 + 16 = 51.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Hey Sportsfan-

Assuming the line of scrimmage is housed in cell A2 and the yardage play in B2:

How about either:
=IF(SUM(A2:B2)>50,SUM(A2:B2)-50,SUM(A2:B2))
=IF(SUM(A2:B2)>50,"OPP " & SUM(A2:B2)-50,"HOM " & SUM(A2:B2))

The second one would add either OPP or HOM to indicate who's side of the field the ball is on.

Cheers, Marc
 
Upvote 0
Just from looking at your reply and not actually being at my desk to where I could test this; I don't think that it would work because if I was on the 35 and gained 16 yards that would put me on the "51" if I subtracted 50 it would say I was on the 1 instead of the 49.
 
Upvote 0
You are correct. Something like this should work though:
Code:
=IF(A1+B1>50,100-(A1+B1),A1+B1)
Or this if you like to add the detail Marc suggested.
Code:
=IF(A1+B1>50,"OPP " & (100-(A1+B1)),"OWN " &(A1+B1))
 
Upvote 0

Forum statistics

Threads
1,224,541
Messages
6,179,418
Members
452,912
Latest member
alicemil

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