Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Formula / Football Pool / HELP

In Case You Missed My First Post !!!
I'm producing a template for a football pool I am in. It's called a "Margin
Of Victory" pool. Just like most, the person with the most points at the end
of the NFL season wins. It works just like the name. Each person chooses on
NFL team each week. Points are awarded or deducted for the "Margin" of
points the NFL team the person chose won by. "Victory" ex: I chose the
Philadelphia Eagles this week and they beat the Carolina Panthers 28 to 7.
I, for choosing the Eagles, am awarded 21 points. Another person, who had
the Panthers this week would have -21, or 21 points deducted from his/her
running total.
Heres the trick, and my problem for this post. Each person in the pool can
choose the same team from each of the 32 NFL teams once. In other words, my
choice of the Eagles is available to me only once in the 17 week season.
I need a formula that notifies the input person that I can't have the Eagles
this week because I used them in week 10. Surely there is a formula that
recognizes PHI, (the abbreviation for Philadelphia) and notifies the input
person. I was thinking perhaps a "True" or "False" value in the column next
to each persons name.
Can Anyone Help ???


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Formula / Football Pool / HELP

The formula you are asking for will only work for the current week and not
previous weeks. You are adding either a row or column every week so the
formula has to adjust to the week number

you can use
=if(countif(A5:A20,A20)1,true,false))

A20 is the latest pick and A5:A20 the range of all the picks

to make it adjustable

=if(countif(A5:A20,indirect(address(B2+4,1))1,tru e,false))

where B2 is the week number. Because the range starts at A5, you have to
add four to the week number to get the row number.





"JamesInNeedFootballInDeed" wrote:

In Case You Missed My First Post !!!
I'm producing a template for a football pool I am in. It's called a "Margin
Of Victory" pool. Just like most, the person with the most points at the end
of the NFL season wins. It works just like the name. Each person chooses on
NFL team each week. Points are awarded or deducted for the "Margin" of
points the NFL team the person chose won by. "Victory" ex: I chose the
Philadelphia Eagles this week and they beat the Carolina Panthers 28 to 7.
I, for choosing the Eagles, am awarded 21 points. Another person, who had
the Panthers this week would have -21, or 21 points deducted from his/her
running total.
Heres the trick, and my problem for this post. Each person in the pool can
choose the same team from each of the 32 NFL teams once. In other words, my
choice of the Eagles is available to me only once in the 17 week season.
I need a formula that notifies the input person that I can't have the Eagles
this week because I used them in week 10. Surely there is a formula that
recognizes PHI, (the abbreviation for Philadelphia) and notifies the input
person. I was thinking perhaps a "True" or "False" value in the column next
to each persons name.
Can Anyone Help ???


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
Football Pool Function JamesInNeedFootballInDeed Excel Worksheet Functions 11 December 31st 07 12:21 AM
Football Pool Fun HELP JamesInNeedFootballInDeed Excel Programming 5 December 30th 07 06:35 PM
Football pool Maitaimike Excel Programming 0 September 12th 06 05:09 AM
Football pool pats2306 Excel Discussion (Misc queries) 0 April 6th 06 10:35 PM
football pool template MarkB New Users to Excel 2 January 3rd 06 05:17 PM


All times are GMT +1. The time now is 02:00 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"