excel training seminar - calculated age person each
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel Training and help » excel training seminar - Calculated age of person each day

excel training seminar - Calculated age of person each day

The UK's most regular instructor-led training courses.
Training information: excel training seminar · Microsoft+excel+training · Microsoft Excel Training UK
See also · excel-courses-london · excel courses in london · excel microsoft training

resolvedResolved · Low Priority · Version Standard

Calculated age of person each day

Ruth has attended:
Excel Intermediate course
Powerpoint Advanced course
Powerpoint Introduction course

by - delegate Ruth [5 posts] (2007 Sep 27 Thu, 16:41) replyReply

I would like to be able to calculate the age of a child on a daily basis. The formula you gave me on the course I attended was =TODAY( )-DOB)/365.4 I can't seem to make this work, could you please give me the correct formula. Thank you.

I need this formula so I can know how many children I have under 2 or over 2 on a daily basis.

Excel Advanced 1 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2003 2008 Dec 3 Wed Bloomsbury 0 FULL    
2003 2008 Dec 5 Fri Bayswater 1 book now £195 £205
2002/XP 2008 Dec 10 Wed Tooting 0 FULL    
2003 2008 Dec 10 Wed Bloomsbury 0 FULL    
2007 2008 Dec 10 Wed Bloomsbury 2 book now £240 £245
2003 2008 Dec 12 Fri Southwark 5 book now £219 £235
Full Schedule: See all 96 Excel Advanced course dates.
Bookings currently available until 24th November 2009.

RE: calculated age of person each day

by - delegate Paul gold contributer[121 posts] (2007 Sep 27 Thu, 17:07) replyReply

Hi Ruth,,

I'd go about that in a different way.

First of all, in the column you want the formula to be in, format the column as a number. To do this, highlight the whole column then select format > cells... then choose number and put the decimals figure from 2 to 0.

Then try typing this in the top cell of the row you want:

=IF(today()-C1<=730,1,"")

where C1 is the child's date of birth.

it's saying that if the child's DOB is less than or equal to 730 (the number of days in 2 years), display 1, otherwise display nothing. Then you can count the number of 1's by typing in another cell =sum(D:D) for instance if your formula is in column D

RE: calculated age of person each day

by - delegate Ruth [5 posts] (2007 Sep 28 Fri, 09:17) replyReply

Thank you very much for getting back to me. I still however cannot get the formula to work. All it seems to do it put the date into a number.
How can I take the child's date of birth away from today's date and have this updated automatically daily?

Thank you again for your help.

RE: calculated age of person each day

by - delegate Paul gold contributer[121 posts] (2007 Sep 28 Fri, 12:39) replyReply

Can you please tell me what format the child's date of birth is in?

is it 01/10/1999 or anything else?

we'll get there, it's just a small matter of tinkering with the formula

Paul

RE: calculated age of person each day

by - delegate Paul gold contributer[121 posts] (2007 Sep 28 Fri, 12:46) replyReply

you can email me with a copy of the spreadsheet detailing what cells/columns you want the results to be in etc..

tealeaves18 AT hotmail.com

RE: calculated age of person each day

by - delegate Ruth [5 posts] (2007 Sep 28 Fri, 12:49) replyReply

I think I might have worked something out. I have changed all the dates of birth to numbers like you suggested but have kept two decimal, in the hope that this give me the year and month. Then I have done the following formula:
=SUM(TODAY()-DOB)/365.4
The date I have been using as an example is 17/10/05. I would like the formula to work so that I would see 1.11 (one year 11 months old), however, with the above formula is comes out as 1.9?

Thanks again.

RE: calculated age of person each day

by - delegate Paul gold contributer[121 posts] (2007 Sep 28 Fri, 13:58) replyReply

To be honest Ruth I don't think that's the way forward. I'll have a think and a play around with it

RE: calculated age of person each day

by - trainer Carlos gold contributer[479 posts] (2007 Oct 1 Mon, 16:48) replyReply

Sorry

The second part to your question Excel cannot do the calculation you need to convert .9 into 11 months.

For that you would need to create a function in excel using VBA that would do this for you as Excel doesn't have one at the moment.

Regards

Carlos

RE: calculated age of person each day

by - trainer Carlos gold contributer[479 posts] (2007 Oct 1 Mon, 16:31) replyReply

Hi Ruth

In the formula above you missed out a bracket. It should look like this:

=(TODAY()-DOB)/365.4

You should also format the cells to display Number with 1 decimal place

NB If you format to 0 decimals any ages over half (eg 6.5) will be rounded up.

Carlos


Related articles

· How to check for and reduce errors in Microsoft Excel
· Advanced Excel Training - takes you to the next level
· Reasons Why VBA for Excel Training Fails
· Microsoft Excel Cheat Sheet: Tips and Shortcuts
· Compare Different MS Excel Training Methods

Excel tip:

Closing Multiple Workbooks quickly

When you have several workbooks open in Excel and want to just close them all at once:

1) Hold down the SHIFT key before selecting the File menu.

2) Once in File menu release SHIFT key and select Close All option.

3) All your files will close. If files require saving Excel will ask if you want to save the changes.

View all Excel hints and tips

Rate this page:
4.0/5 (3 votes cast)
Institute of IT Training - Accredited Training Provider Microsoft Certified Partner
microsoft office
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information

Training Articles

AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz