Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.worksheet.functions,microsoft.public.excel.worksheetfunctions
external usenet poster
 
Posts: 3
Default Help: Formula for calculating Baseball League Age?

Ok, I have been playing with excel for quite a while now and have been able
to calculate a persons age. But, I have been unable to calculate a persons
baseball league age. Here is the rule for league age: "whatever age a
player is on April 30, will be their age for the current baseball season.

As an example, if my son is born on 5/10/1993 he is eligible to play in the
baseball 13U (stands for baseball 13 year old division). This is because on
April 30, my son is still 13 years old.

However the old rule for league age was "whatever age a player is on July
31, that will be their league age". In this case, my son would now be
required to play in the 14U division as he would be age 14 on July 31st.

I have been trying to come up with a formula that would take a persons
birthdate and produce the league age automatically.

The formula I have been using for a persons "normal" age is:
=IF(A1="","",DATEDIF(A1,NOW(),"y")) where A1 contains a persons birthdate
(5/10/93). Obviously this would produce a cell value of 13.

Any help is appreciated.

Thanks,
Brent
brentwalker at walkerzone dot com


  #2   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.worksheet.functions,microsoft.public.excel.worksheetfunctions
external usenet poster
 
Posts: 620
Default Formula for calculating Baseball League Age?

To find the age at 30th April of the current year, try
=IF(A1="","",DATEDIF(A1,DATE(YEAR(TODAY()),4,30)," y"))
--
David Biddulph

"Brent" <brentwalker at walkerzone dot com wrote in message
...
Ok, I have been playing with excel for quite a while now and have been
able to calculate a persons age. But, I have been unable to calculate a
persons baseball league age. Here is the rule for league age: "whatever
age a player is on April 30, will be their age for the current baseball
season.

As an example, if my son is born on 5/10/1993 he is eligible to play in
the baseball 13U (stands for baseball 13 year old division). This is
because on April 30, my son is still 13 years old.

However the old rule for league age was "whatever age a player is on July
31, that will be their league age". In this case, my son would now be
required to play in the 14U division as he would be age 14 on July 31st.

I have been trying to come up with a formula that would take a persons
birthdate and produce the league age automatically.

The formula I have been using for a persons "normal" age is:
=IF(A1="","",DATEDIF(A1,NOW(),"y")) where A1 contains a persons birthdate
(5/10/93). Obviously this would produce a cell value of 13.

Any help is appreciated.

Thanks,
Brent
brentwalker at walkerzone dot com



  #3   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.worksheet.functions,microsoft.public.excel.worksheetfunctions
external usenet poster
 
Posts: 3
Default Formula for calculating Baseball League Age?

Ok this really makes me mad. You solved my problem in 4 minutes when I have
been working at this for several hours. Doesn't really make me mad, but
foot, I spent 2 hours when you solved it in 4 minutes! :)

Would you please help me understand the DateDif portion and everything
after?

Thanks alot
Brent



"David Biddulph" wrote in message
...
To find the age at 30th April of the current year, try
=IF(A1="","",DATEDIF(A1,DATE(YEAR(TODAY()),4,30)," y"))
--
David Biddulph

"Brent" <brentwalker at walkerzone dot com wrote in message
...
Ok, I have been playing with excel for quite a while now and have been
able to calculate a persons age. But, I have been unable to calculate a
persons baseball league age. Here is the rule for league age: "whatever
age a player is on April 30, will be their age for the current baseball
season.

As an example, if my son is born on 5/10/1993 he is eligible to play in
the baseball 13U (stands for baseball 13 year old division). This is
because on April 30, my son is still 13 years old.

However the old rule for league age was "whatever age a player is on July
31, that will be their league age". In this case, my son would now be
required to play in the 14U division as he would be age 14 on July 31st.

I have been trying to come up with a formula that would take a persons
birthdate and produce the league age automatically.

The formula I have been using for a persons "normal" age is:
=IF(A1="","",DATEDIF(A1,NOW(),"y")) where A1 contains a persons birthdate
(5/10/93). Obviously this would produce a cell value of 13.

Any help is appreciated.

Thanks,
Brent
brentwalker at walkerzone dot com





  #4   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.worksheet.functions,microsoft.public.excel.worksheetfunctions
external usenet poster
 
Posts: 35,218
Default Formula for calculating Baseball League Age?

Chip Pearson has some very nice notes:
http://www.cpearson.com/excel/datedif.htm

Brent wrote:

Ok this really makes me mad. You solved my problem in 4 minutes when I have
been working at this for several hours. Doesn't really make me mad, but
foot, I spent 2 hours when you solved it in 4 minutes! :)

Would you please help me understand the DateDif portion and everything
after?

Thanks alot
Brent

"David Biddulph" wrote in message
...
To find the age at 30th April of the current year, try
=IF(A1="","",DATEDIF(A1,DATE(YEAR(TODAY()),4,30)," y"))
--
David Biddulph

"Brent" <brentwalker at walkerzone dot com wrote in message
...
Ok, I have been playing with excel for quite a while now and have been
able to calculate a persons age. But, I have been unable to calculate a
persons baseball league age. Here is the rule for league age: "whatever
age a player is on April 30, will be their age for the current baseball
season.

As an example, if my son is born on 5/10/1993 he is eligible to play in
the baseball 13U (stands for baseball 13 year old division). This is
because on April 30, my son is still 13 years old.

However the old rule for league age was "whatever age a player is on July
31, that will be their league age". In this case, my son would now be
required to play in the 14U division as he would be age 14 on July 31st.

I have been trying to come up with a formula that would take a persons
birthdate and produce the league age automatically.

The formula I have been using for a persons "normal" age is:
=IF(A1="","",DATEDIF(A1,NOW(),"y")) where A1 contains a persons birthdate
(5/10/93). Obviously this would produce a cell value of 13.

Any help is appreciated.

Thanks,
Brent
brentwalker at walkerzone dot com




--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.worksheet.functions,microsoft.public.excel.worksheetfunctions
external usenet poster
 
Posts: 620
Default Formula for calculating Baseball League Age?

DATEDIF is the awkward one, as Microsoft have left it out of Excel's help
for some inexplicable reason.
Details can be found at http://www.cpearson.com/excel/datedif.htm

For other Excel functions [including DATE() and YEAR()], your best bet is
Excel's help function which will explain the syntax.
Most of the help entries also have a "see also" link to help you with
similar functions that may be useful in the future.
--
David Biddulph

"Brent" <brentwalker at walkerzone dot com wrote in message
...
Ok this really makes me mad. You solved my problem in 4 minutes when I
have been working at this for several hours. Doesn't really make me mad,
but foot, I spent 2 hours when you solved it in 4 minutes! :)

Would you please help me understand the DateDif portion and everything
after?

Thanks alot
Brent


"David Biddulph" wrote in message
...
To find the age at 30th April of the current year, try
=IF(A1="","",DATEDIF(A1,DATE(YEAR(TODAY()),4,30)," y"))
--
David Biddulph

"Brent" <brentwalker at walkerzone dot com wrote in message
...
Ok, I have been playing with excel for quite a while now and have been
able to calculate a persons age. But, I have been unable to calculate a
persons baseball league age. Here is the rule for league age: "whatever
age a player is on April 30, will be their age for the current baseball
season.

As an example, if my son is born on 5/10/1993 he is eligible to play in
the baseball 13U (stands for baseball 13 year old division). This is
because on April 30, my son is still 13 years old.

However the old rule for league age was "whatever age a player is on
July 31, that will be their league age". In this case, my son would now
be required to play in the 14U division as he would be age 14 on July
31st.

I have been trying to come up with a formula that would take a persons
birthdate and produce the league age automatically.

The formula I have been using for a persons "normal" age is:
=IF(A1="","",DATEDIF(A1,NOW(),"y")) where A1 contains a persons
birthdate (5/10/93). Obviously this would produce a cell value of 13.

Any help is appreciated.

Thanks,
Brent
brentwalker at walkerzone dot com



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
Find value in array Brook6 Excel Worksheet Functions 26 January 30th 07 09:40 PM
Baseball sumproduct/array formula? uw805 Excel Worksheet Functions 0 June 8th 06 11:12 AM
need a formula which calculates points for a predictions league wallisi Excel Discussion (Misc queries) 1 May 26th 06 09:24 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM


All times are GMT +1. The time now is 09:18 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"