LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default IF Function for Football stats

I am trying to use Excel as a stat keeper for football. I want the down and
distance cells to change automatically when i enter a distance gained after
each play. I used the following formulas for the down and distance cells
respectively:

=IF(I18=D18,"1",C18+1)
=IF(I18=D18,"10",D18-I18)

Where I18 is where the yardage gained for each play is entered, D18 is the
yards to gain, and C18 is the current down of the play.

For the down cell i want a "1" to be displayed if the yards gained is
greater than or equal to the yards to gain. For the yards to gain cell i
want "10" to be displayed if they yards gained is greater than or equal to
the yards to gain and if not then display yards to gain(D18) minus yards
gained(I18).

All of this works well with the exception of a 1 and 10. Any time i enter a
yards gained of 10 or greater only on a 1 down the next 2 down and distance
cells will go to 2 down and a negative number. It will never display two
first downs in sequence WHY NOT???

Are there any other functions that might work for this?

Thank you
 
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
Football Pool Function JamesInNeedFootballInDeed Excel Worksheet Functions 11 December 31st 07 12:21 AM
Basketball Stats old coach Links and Linking in Excel 1 November 24th 07 08:44 AM
Creating stats mercedes Excel Discussion (Misc queries) 3 December 8th 06 05:28 PM
Football Stats: PanamaAz Setting up and Configuration of Excel 0 September 1st 05 07:07 PM
for stats worksheet in XL how do i find the minitab function freethrow18 Excel Worksheet Functions 1 February 2nd 05 05:38 AM


All times are GMT +1. The time now is 12:06 AM.

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"