#### Calculating Age of person on admission date

```In cell A1 I have the admission date to a longterm care home- eg.
05/30/2001.
In cell B1 I have the birth date - eg. 02/23/1924.

Can some guru give me a calculation to put in cell C1 that will give me
the age (in years) of the individual when they entered as a resident??

Alan
```
 0
here6701 (24)
10/7/2005 9:49:49 PM
excel.misc 78881 articles. 5 followers.

10 Replies
1026 Views

Similar Articles

[PageSpeed] 48

```How exact do you need this?  If you subtract birthdate from admission
date you'll get an integer number of days between the two dates.  If
you don't need micrometer precision you could divide resulting days by
365, and derive a number of years.  This method doesn't account for
leap years, for instance, but is substantially close.
=(a1-b1)/365

```
 0
CycleZen (674)
10/7/2005 10:03:22 PM
```=IF(AND(MONTH(A1)>=MONTH(B1),DAY(A1)>=DAY(B1)),YEAR(A1)-YEAR(B1),YEAR(A1)-YEAR(B1)-1)

This says if they entered after their birthday then subtract the two years.
Else subtract 1 from the difference of the two years.

If you are willing to sacrifice accuracy for simplicity, you could use..

=YEAR(A1)-YEAR(B1)

"Alan" wrote:

> In cell A1 I have the admission date to a longterm care home- eg.
> 05/30/2001.
> In cell B1 I have the birth date - eg. 02/23/1924.
>
> Can some guru give me a calculation to put in cell C1 that will give me
> the age (in years) of the individual when they entered as a resident??
>
> Alan
>
```
 0
Sloth (218)
10/7/2005 10:10:02 PM
```Try
=(A1-B1)/365.25
Format as a number,
Regards,
Alan.
"Alan" <here@now.com> wrote in message
news:14C1f.8809\$2F2.1122193@news20.bellglobal.com...
> In cell A1 I have the admission date to a longterm care home- eg.
> 05/30/2001.
> In cell B1 I have the birth date - eg. 02/23/1924.
>
> Can some guru give me a calculation to put in cell C1 that will give me
> the age (in years) of the individual when they entered as a resident??
>
> Alan

```
 0
alan111 (581)
10/7/2005 10:10:08 PM
```Try...

=DATEDIF(B1,A1,"Y")

....which requires that the 'Analysis ToolPak' be enabled...

Tools > Add-Ins > and check 'Analysis ToolPak'

Hope this helps!

In article <14C1f.8809\$2F2.1122193@news20.bellglobal.com>,
"Alan" <here@now.com> wrote:

> In cell A1 I have the admission date to a longterm care home- eg.
> 05/30/2001.
> In cell B1 I have the birth date - eg. 02/23/1924.
>
> Can some guru give me a calculation to put in cell C1 that will give me
> the age (in years) of the individual when they entered as a resident??
>
> Alan
```
 0
domenic22 (716)
10/7/2005 10:22:20 PM
```Try:

=DATEDIF(B1,A1,"y")

--
HTH

Sandy
sandymann@mailinator.com
Replace@mailinator with @tiscali.co.uk

"Alan" <here@now.com> wrote in message
news:14C1f.8809\$2F2.1122193@news20.bellglobal.com...
> In cell A1 I have the admission date to a longterm care home- eg.
> 05/30/2001.
> In cell B1 I have the birth date - eg. 02/23/1924.
>
> Can some guru give me a calculation to put in cell C1 that will give me
> the age (in years) of the individual when they entered as a resident??
>
> Alan

```
 0
sandymann2 (1054)
10/7/2005 10:22:51 PM
```Just adding accuracy to Sandy's formula;

=DATEDIF(A1,NOW(),"y") & " years, " & DATEDIF(A1,NOW(),"ym") &
months, " & DATEDIF(A1,NOW(),"md") & " days"

This will give age in Years, Months & Days

This formula can go in anywhere on a spread sheet with input date i
A1

Sye

--
sazi
-----------------------------------------------------------------------
saziz's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=635

```
 0
10/7/2005 11:10:56 PM
```I don't think that's part of the Analysis toolpak.

To the original poster:

You can find lots of info at Chip Pearson's site:
http://www.cpearson.com/excel/datedif.htm

(=datedif() was only documented in xl2k's help.)

Domenic wrote:
>
> Try...
>
> =DATEDIF(B1,A1,"Y")
>
> ...which requires that the 'Analysis ToolPak' be enabled...
>
> Tools > Add-Ins > and check 'Analysis ToolPak'
>
> Hope this helps!
>
> In article <14C1f.8809\$2F2.1122193@news20.bellglobal.com>,
>  "Alan" <here@now.com> wrote:
>
> > In cell A1 I have the admission date to a longterm care home- eg.
> > 05/30/2001.
> > In cell B1 I have the birth date - eg. 02/23/1924.
> >
> > Can some guru give me a calculation to put in cell C1 that will give me
> > the age (in years) of the individual when they entered as a resident??
> >
> > Many thanks in advance,
> > Alan

--

Dave Peterson
```
 0
petersod (12004)
10/7/2005 11:56:23 PM
```Thanks Dave!  You're absolutely right!  :)

In article <43470B27.AFC0B9D2@verizonXSPAM.net>,
Dave Peterson <petersod@verizonXSPAM.net> wrote:

> I don't think that's part of the Analysis toolpak.
>
> To the original poster:
>
> You can find lots of info at Chip Pearson's site:
> http://www.cpearson.com/excel/datedif.htm
>
> (=datedif() was only documented in xl2k's help.)
```
 0
domenic22 (716)
10/8/2005 12:55:19 AM
```Hi Alan

One way
=DATEDIF(A1,B!,"y")

Regards

Roger Govier

Alan wrote:

>In cell A1 I have the admission date to a longterm care home- eg.
>05/30/2001.
>In cell B1 I have the birth date - eg. 02/23/1924.
>
>Can some guru give me a calculation to put in cell C1 that will give me
>the age (in years) of the individual when they entered as a resident??
>
>Alan
>
>
```
 0
roger1272 (620)
10/8/2005 4:59:49 AM
```Sorry Alan

Still sleepy, haven't had the first coffee yet!!
=DATEDIF(B1,A1,"y")

Regards

Roger Govier

Roger Govier wrote:

> Hi Alan
>
> One way
> =DATEDIF(A1,B!,"y")
>
> Regards
>
> Roger Govier
>
>
>
> Alan wrote:
>
>> In cell A1 I have the admission date to a longterm care home- eg.
>> 05/30/2001.
>> In cell B1 I have the birth date - eg. 02/23/1924.
>>
>> Can some guru give me a calculation to put in cell C1 that will give me
>> the age (in years) of the individual when they entered as a resident??
>>
>> Many thanks in advance, Alan
>>
>>
```
 0
roger1272 (620)
10/8/2005 5:30:34 AM

Similar Artilces:

Calculating Taxes and Making calculations
Hello, Kindly plz tell me how do i go about making some small calculations based on my existing data such as how to compute taxes and do other calculations based on some quantitative data. where exactly do i make modifications on my application??? Kindly help me out. Thanks , swati you can add code in javascript behind dropdowns or piclist fields. One example might be a dropdown which has shipping options ie ups, fedex etc. When you choose one it takes the weight of your package (whcih you enter) then calculates a shipping cost. search the archives of this group at groups.google.com and ...

Procedure to calculate distance using latitude/longitude
Does anyone know of a vba procedure for access that will calculate straightline distance using latitude and logitude for 2 points? AJ wrote: > Does anyone know of a vba procedure for access that will calculate > straightline distance using latitude and logitude for 2 points? See: http://groups.google.com/group/microsoft.public.access/msg/6b934b0e580b974b James A. Fortune MPAPoster@FortuneJames.com ...

How to calculate age of a person?
Hi, I'm struggling to figure this one out. I have a date column and I'd like to be able to calculate the age without doing it in my head. I've tried to do this but am struggling. Any help will greatly appreciated. Thanks Suzanne Visit www.cpearson.com and search for DATEDIFF best wishes -- Bernard V Liengme Microsoft Excel MVP www.stfx.ca/people/bliengme remove caps from email "Grd" <Grd@discussions.microsoft.com> wrote in message news:6BFFD11C-AECB-4837-93B6-D84B6170B975@microsoft.com... > Hi, > > I'm struggling to figure this one out. I have...

EXCEL 2007 Formula to calculate INTEREST only on a 3 month bridge
I am trying to calculate monthly INTEREST ONLY payment on a short term bridge/swing loan. Assuming an interest rate of 2.75%, paid monthly, Also assuming it will be required for a 3-6 month period, amount approx \$500,000. Just switched to Excel 2007 but don't seem to be able to calculate using the formula builder. Not sure if it is compounded daily or monthly. You might want to check out the IPMT function. From the XL help file: IPMT(rate,per,nper,pv,fv,type) Rate is the interest rate per period. Per is the period for which you want to find the interest and must...

Due Date Calculated
I need assistance on an expression that allows for the due date of recurring training to be one year from date completed. Details are as follows: I have a form named [frmTRNComplete] based on table named [tblTRNComplete] Form controls are: TRNID (combo box), DateComp (Text Box) , DateNext (text box), Reccuring (check box) I would like the DateNext to be 1 year from DateComp if Reccuring is true and Date next to be blank if Reccuring is false. -- Aloha, Ron A. Ron I'll assume that you want to use the form to calculate the DateNext, and that you are not trying to s...

how to calculate outliers
Google is your friend: http://www.google.com/search?q=calculate+outliers - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions Peltier Technical Services, Inc. - http://PeltierTech.com _______ "ismhs" <ismhs@discussions.microsoft.com> wrote in message news:035124A0-06FA-4153-932E-6C4E0614F38C@microsoft.com... > ...

Personal Immunization record
Does anyone have a template for personal immunization records. It needs to include personal information (name, date of birth, etc) and the type of immunization received with the date received. This would allow patients to keep their own immunization record available and prevent loss of data ...

Keeping Track of Vacation/Personal Hours Used
What do you recommend is the best way to keep a running log of vacation and personal time used in Outllook 2002? I would like to automate as much as possible. Would I use Calender or Tasks? Thanks Your best bet is to use an application designed for time-tracking. Outlook is not designed for this specific task. You can use the Journal to tally your time spent on tasks, but I would have no idea how you would track your vacation, since that time is spent out of the office, presumably. Try google.com for time tracking applications, as there are several good ones out there that are d...

Calculated field options???
Here's my Data: Country Status --------- ---------- Canada Green Canada Blue Canada Green Canada Green Canada Blue In my pivot table, 'Country' is an item, and 'Status' is my only data field. What I really need to show in my data area is two column of data, one for 'Green' and one for 'Blue'. I tried creating two 'Calculated' fields with the following formulas, but they don't seem to be working: 'CalculatedField1' = IF((STATUS="Green"),1,0) 'CalculatedF...

tenure calculations
how can I format several dates such as 04/19/2003, 04/01/2004, etc. int a yearly average for the employee tenure -- Message posted from http://www.ExcelForum.com right now say I have my yearly figures in i1-i9. The formula I though would work is =today()-average(i1:i9), but how would i format this to give me yearly read out -- Message posted from http://www.ExcelForum.com Hi djackson! One way is to use YEARFRAC with a third argument of 1 to get your tenures in years and fractions of a year and then average the result. However YEARFRAC does produce some annoying but small errors. Y...

Time Sheet Function to Calculate
I am having some trouble trying to establish a formula that will give me the number of hours worked during the day given the start time say 8.30am with an end time of 5.30pm and say 30 minutes for lunch. For this scenario, total working hours would be eight and a half hours but I need Excel to display this result as 8.30 hours (0.30 being the minutes in the half hour) and not 8.50. Can someone suggest what to do? Typically the layout would be Column A - Start Time say 8.30am Column B - Time in minutes spent at lunch say 30 minutes Column C - End Time say 5.30pm. Column D - the calculati...

Formula to calculate time
I was wondering if anybody knows of a formula to allow you to do calculations based on time. In other words, say I want to put a list of songs on a CD and their durations. Then, I want to add up the durations to get the full time of the CD, or my specific play list. So for example, using the information below: Ghostbusters - Ray Parker Jr. --- 5:23 (Just a guess) Phantom of the Opera Overture --- 3:55 (Another guess) Instead of 8:78, I'd want to see 9:18 Can this be done? Any help would be greatly appreciated. Thank you! -- Have a nice day! ~Paul Express Scripts, Charting the futu...

Insert calculated median field in pivottable
Anyone know how to get a median calculation in a pivot table? I've tried inserting a calculated field but it always sums the calculated field. Thanks, Joel Not supported in a pivot -- Regards, Peo Sjoblom (No private emails please) "Joel Schaefer" <joel@disintegrators.com> wrote in message news:ev4P0Nk6FHA.2616@TK2MSFTNGP15.phx.gbl... > Anyone know how to get a median calculation in a pivot table? I've tried > inserting a calculated field but it always sums the calculated field. > > Thanks, > > Joel > ...

Javascript help, calculation whoes when calculating from a calculation....
I am having a strange issue with Javascript and I cannot see what the issue us? Essentially I need to be able to calculate two values, one is addition and the second is multiplication. I am getting some strange numbers. My code is at the bottom under the ------, here are the details. crmForm.all.estimatedvalue.DataValue = 10 crmForm.all.new_cfp_estrev_nextyr.DataValue = 10 crmForm.all.new_cfp_estrev_yrtwoplus.DataValue = 10 This should make totalestrev = 30, Then its getting weird, I am taking the following formula (10/100)*30 = 270? Here 10 is the value selected from the drop down value, I ...

calculator errors
when i enter an equation into a cell such as: =product(a1,b1) into cell c1. If a1 is 1000 and b1 is .10 than c1 should equal 100, but it equals 102.04. My calculator is off somehow when i try to multiply. Please help me. Thank You, Kat I'd take a look at the values in A1 and B1. Are they really 1000 and .10 or are they 1000.49999 or .10444 (for example) "Kat and the Calculator" <KatandtheCalculator@discussions.microsoft.com> wrote in message news:591A3F6E-7C20-4C88-B1E2-6B76CFF502BA@microsoft.com... > when i enter an equation into a cell such as: =product(a...

documents in transaction inquiry should default to date
When first entering the Payables Transaction Inquiry - Vendors screen, the documents section is defaulted to "by document number." It would be extremely helpful to have the option of being able to change the Documents default to "by Document Date." ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and the...

Calculating Employee hours for the current week
Hello, I am new to excel and have been assigned the task of creating a file that breaks down the amount of time each of our employees spends on different projects. Most importantly I want to create a rollup sheet that shows the total number of hours all the employees have spent on the different projects (there are 6) for the current week. Is there any way for excel to figure out the current week then add together the hours all the employees worked on these 6 projects? Thanks in advance. Hi, Take a look at the templates available from Microsoft at http://office.microsoft.com/en-us/template...

Show only Latest date in reuslts of a query
Hi I have a parent table holding review dates and a child table with audit trail entries made with dates. I want to extract all documents with a review date within a range (select query doing this) and would also like to see only the latest audit trail entry in the the child table. At the moment my select query shows a document with all audit trail entries. Any suggestions on how I can get only the latest audit trail entry would be deeply appreciated. Thanks Dee Select query left join to --- Group by query with these fields -- Audit_Identifier Max(audit trail entry da...

What does this calculation do?!
I am working with a colleague to create a spreadsheet to rank supervisor performance through several aspects of the average performance of their employees. We have been given a similar spreadsheet as an example of what is needed. I am looking at it, and initially cannot understand what in the world some of the calcuations are meant to do. Here is one that is meant to calculate the "ranking score." It is a percentage determined by a target percentage and the person's actual performance percentage: =IF(IF(C3>0,(C3/B3),200)>200,200,IF(C3>0,(C3/B3),200)) As far as I ...

Savings Goals, how are they calculated
I have a budget that says I have \$1000+ saved each month, when I setup a savings goal for three months down the road for \$2000 it says that it is unattainable and the max I could save is \$345! What else is calculated into the savings goals other than how much money is left over after each month! It just doesn't make sense. The only help it gives is check out your cash flow... and sure enough, at the time I want my savings goal to be reach it says that the total of my accounts is \$4000+ dollars... why does Money keep saying that I can't do a savings goal above \$345?!!! This is...

Dmin for nearest date
DMin ( expression, domain, [criteria] ) A column in my query calculates a due date for each record. The report needs to show the nearest/soonest due date for each employee. The report is sorted by employee so I figured I could put this into a text box: =DMin("DueDate","q_Inventory","DueDate") But, under every employee is the same date, it shows the minimum date in the query, but not for each person... How can I make it reflext each Min date? ??? Try a Totals query and change DueDate from Group By to Min. -- KARL DEWEY Build a little - Test a little ...

Inserting date calculations
Version: 2008 Operating System: Mac OS X 10.5 (Leopard) Processor: Intel I'm trying to insert something like the following in a document: <br><br>&quot;It has been X days since I last heard from you.&quot; <br><br>Where X, in Excel-speak, would be expressed as ... <br><br>TODAY()-DATE(year/month/day in question) <br><br>The only way I seem to be able to accomplish this directly is to insert a formula field; however, I don't seem to be able to get at the kinds of date functions or information Excel provides. <br><br&g...

Wrestling with fractions and dates. Knowledge of photography is helpful.
I made a spreadsheet to combine f/stop, shutter speed, and film speed into a single number. This number represents how many stops the exposure was taken from a sunny 16 setting. For example, if I'm using ISO 100 film, a shutter speed of 1/125 sec., and an f/stop of 11, it will calculate to about .8. Ok, now for the fun part. When I enter a shutter speed into a cell, I just input the denominator because all the numbers are just reciprocals of their respective shutter speeds. For example, for 1/125 sec, I enter 125 and let the inner workings take care of it. The problem is when...

Aggregate calculations on calculated query fields?
I made a query that uses fields from multiple tables to calculate values for daily metrics. I need to present monthly totals of the data as sums and/or means. The tables are linked by the Date (mm/dd/yyyy) field. I enter ‘between 03/01/2010 and 03/31/2010’ in the criteria for the date field. For the totals I enter ‘group by’ for the date and ‘sum’ or ‘avg’ for the calculated fields. When the query is executed I receive an error that I ‘tried to execute a query that does not include the specified expression *** as part of an aggregate function. *** is the calculated field in the...