I have the following sample field and record
Age ApprovedDate
40 15-05-2000
Age-number field that shows the current age in 2010
Approveddate - date field when the application was approved.
How to calculate the age of the applicants at the point of approval. In the
above example the age would be 30...
Thanks
|
|
0
|
|
|
|
Reply
|
Utf
|
5/14/2010 12:41:01 AM |
|
On Thu, 13 May 2010 17:41:01 -0700, zyus <zyus@discussions.microsoft.com>
wrote:
>I have the following sample field and record
>
>Age ApprovedDate
>40 15-05-2000
>
>Age-number field that shows the current age in 2010
>Approveddate - date field when the application was approved.
>
>How to calculate the age of the applicants at the point of approval. In the
>above example the age would be 30...
>
>Thanks
>
The Age field should SIMPLY NOT EXIST in your table. If it's right today, it
will be wrong for every person in your database in 12 months. I am 63 years
old in 2010; I'll also be 64 years old in 2010 (in another week in fact).
How was this field derived? What does it MEAN - was the person 40 on January
1, or on December 31, or what? If the person's birthday was 14-05-1970 you're
"age at point of approval" would be 30, if their birthday were the 16th it
would be 29; which answer do you want?
--
John W. Vinson [MVP]
|
|
0
|
|
|
|
Reply
|
John
|
5/14/2010 1:36:30 AM
|
|
Thanks for your reply,
The data is imported from text files that extracted from other system and
calculated on Jan 1 basis.
The data is for analysis purpose and will be updated/replaced every month.
"John W. Vinson" wrote:
> On Thu, 13 May 2010 17:41:01 -0700, zyus <zyus@discussions.microsoft.com>
> wrote:
>
> >I have the following sample field and record
> >
> >Age ApprovedDate
> >40 15-05-2000
> >
> >Age-number field that shows the current age in 2010
> >Approveddate - date field when the application was approved.
> >
> >How to calculate the age of the applicants at the point of approval. In the
> >above example the age would be 30...
> >
> >Thanks
> >
>
> The Age field should SIMPLY NOT EXIST in your table. If it's right today, it
> will be wrong for every person in your database in 12 months. I am 63 years
> old in 2010; I'll also be 64 years old in 2010 (in another week in fact).
>
> How was this field derived? What does it MEAN - was the person 40 on January
> 1, or on December 31, or what? If the person's birthday was 14-05-1970 you're
> "age at point of approval" would be 30, if their birthday were the 16th it
> would be 29; which answer do you want?
>
> --
>
> John W. Vinson [MVP]
> .
>
|
|
0
|
|
|
|
Reply
|
Utf
|
5/14/2010 4:11:01 AM
|
|
On Thu, 13 May 2010 21:11:01 -0700, zyus <zyus@discussions.microsoft.com>
wrote:
>Thanks for your reply,
>
>The data is imported from text files that extracted from other system and
>calculated on Jan 1 basis.
>
>The data is for analysis purpose and will be updated/replaced every month.
>
>
Please answer my question:
>What does it MEAN - was the person 40 on January
> 1, or on December 31, or what? If the person's birthday was 14-05-1970 you're
> "age at point of approval" would be 30, if their birthday were the 16th it
> would be 29; which answer do you want?
>
Having an AGE field in your table is HOPELESSLY AMIGUOUS.
It makes it impossible, even in principle, to get an exact age as of the point
of approval. The information to provide that answer simply does not exist. So
you'll have to settle for an approximation; I'm asking you - which
approximation do you want?
Try
Year(Date()) - Year([DateOfApproval]) + [Age]
to get an approximation. It'll be wrong half the time by one year, but you
can't do better than that with the information you've posted.
--
John W. Vinson [MVP]
|
|
0
|
|
|
|
Reply
|
John
|
5/14/2010 5:17:42 AM
|
|
On Thu, 13 May 2010 21:11:01 -0700, zyus <zyus@discussions.microsoft.com>
wrote:
>The data is imported from text files that extracted from other system and
>calculated on Jan 1 basis.
>
I was 63 on January 1.
How old am I today? Am I 63 or 64? Might be either, depending on my birthday.
Do you get my point? Your question, as posted and with the data that you have
available, *cannot be answered*.
--
John W. Vinson [MVP]
|
|
0
|
|
|
|
Reply
|
John
|
5/14/2010 3:45:24 PM
|
|
Thanks John,
I missed one points during my earlier explaination. The data that i imported
every month has a month end position which is month & year (dated 31st).
Can the month end date be used to calculate the date.
"John W. Vinson" wrote:
> On Thu, 13 May 2010 21:11:01 -0700, zyus <zyus@discussions.microsoft.com>
> wrote:
>
> >The data is imported from text files that extracted from other system and
> >calculated on Jan 1 basis.
> >
>
> I was 63 on January 1.
>
> How old am I today? Am I 63 or 64? Might be either, depending on my birthday.
>
> Do you get my point? Your question, as posted and with the data that you have
> available, *cannot be answered*.
> --
>
> John W. Vinson [MVP]
> .
>
|
|
0
|
|
|
|
Reply
|
Utf
|
5/17/2010 12:35:01 AM
|
|
On Sun, 16 May 2010 17:35:01 -0700, zyus <zyus@discussions.microsoft.com>
wrote:
>Thanks John,
>
>I missed one points during my earlier explaination. The data that i imported
>every month has a month end position which is month & year (dated 31st).
>
>Can the month end date be used to calculate the date.
To within a month, yes.
To within a day, no.
This is not an Access issue, it's an issue of logic.
If all you know is that my birthday occurs during the month of May, on an
unspecified date, it is logically IMPOSSIBLE to determine my age today. You
can determine my age on the 1st (the younger age of the two possibilities);
you can determine my age on the 31st (the older). For any other date you
simply don't have enough information to do so.
--
John W. Vinson [MVP]
|
|
0
|
|
|
|
Reply
|
John
|
5/17/2010 12:54:08 AM
|
|
Hi John,
Sorry, i've missed out one important info, the data that i imported every
month has a month end date position, say April data the monthenddt is
30-04-2010. Is there any possibility to calculate age at approval
"John W. Vinson" wrote:
> On Thu, 13 May 2010 21:11:01 -0700, zyus <zyus@discussions.microsoft.com>
> wrote:
>
> >The data is imported from text files that extracted from other system and
> >calculated on Jan 1 basis.
> >
>
> I was 63 on January 1.
>
> How old am I today? Am I 63 or 64? Might be either, depending on my birthday.
>
> Do you get my point? Your question, as posted and with the data that you have
> available, *cannot be answered*.
> --
>
> John W. Vinson [MVP]
> .
>
|
|
0
|
|
|
|
Reply
|
Utf
|
5/18/2010 12:43:01 AM
|
|
On Mon, 17 May 2010 17:43:01 -0700, zyus <zyus@discussions.microsoft.com>
wrote:
>Hi John,
>
>Sorry, i've missed out one important info, the data that i imported every
>month has a month end date position, say April data the monthenddt is
>30-04-2010. Is there any possibility to calculate age at approval
I don't know how I can say it any clearer, Zyus.
NO, THERE IS NO POSSIBILITY TO CALCULATE THE AGE AT APPROVAL.
Sorry for shouting, but it's just not getting through.
Again, just in case I'm misunderstanding:
Suppose my age as of April 1 were 63, and my age as of May 1 were 64.
The data of approval is April 15.
You *cannot determine my age on that date*. It might be 63 (if my birthday
comes on or after the 15th), or it might be 64 (if my birthday comes earlier).
The best you can do is to plus or minus one year. If that's good enough, then
sure. If it's not, then you simply do not have enough information.
--
John W. Vinson [MVP]
|
|
0
|
|
|
|
Reply
|
John
|
5/18/2010 1:55:35 AM
|
|
|
8 Replies
312 Views
(page loaded in 2.287 seconds)
Similiar Articles: Age Calculation - microsoft.public.accessI have the following sample field and record Age ApprovedDate 40 15-05-2000 Age-number field that shows the current age in 2010 Approved... Criteria for age calculation - microsoft.public.accessI have a simple query Name and Date of Birth. I want to calculate the age in a query. I have tried different criteria from MS Access Tutorials. Can ... Years and Months age calculation? - microsoft.public.access.forms ...I need a solution to calculating a pre school students age in years AND months as at start of school year. I've found a formula below that works out ... Calculating someones age - microsoft.public.access.forms ...Age Calculation - microsoft.public.access Calculating someones age - microsoft.public.access.forms ... Online age calculator, calculate your birthday Age calculator. calculate age in query - microsoft.public.accessAge Calculation - microsoft.public.access Criteria for age calculation - microsoft.public.access I have a simple query Name and Date of Birth. I want to calculate the age ... Calculating age in a Word template/Form from the DOB field ...Years and Months age calculation? - microsoft.public.access.forms ... Calculating age in a Word template/Form from the DOB field ... Excel - Calculate age from DOB in ... Calculating age in a label or text box on a form - microsoft ...Age Calculation - microsoft.public.access Calculating age in a label or text box on a form - microsoft ... Years and Months age calculation? - microsoft.public.access.forms ... Calculate Gestational Age based on months and weeks - microsoft ...I found this code online at a website that calculates Gestational age in online calculator. Can it be converted for use in access? Thanks! Calculating age at different points in time - microsoft.public ...Online age calculator, calculate your birthday Age calculator. Know your age. Calculate your age in days, years, minutes, seconds. Just know how many days / hours ... Calculate someone's age - microsoft.public.outlook.contacts ...Online age calculator, calculate your birthday Age calculator. Know your age. Calculate your age in days, years, minutes, seconds. Just know how many days / hours ... Online age calculator, calculate your birthdayAge calculator. Know your age. Calculate your age in days, years, minutes, seconds. Just know how many days / hours / minutes have been passed since your time of birth. age calculator - Math Cats -- fun math for kidsage calculator: how old are you in years, or months, or weeks, or days, or minutes, or seconds??? Age Calculator - Cornell UniversityAge Calculator. Calculate the age based on the Date of Birth and another date (default is the current date). Age CalculatorAge Calculator. This is an age calculator based on the date of birth and the date to be calculated at. This calculator gives out age in years, months, weeks, days ... age calculator at Math Catsage calculator: how old are you in years, months, weeks, days, minutes, or seconds??? 7/26/2012 8:28:39 AM
|