Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default calculate age from today's date (changes daily) and birthdate

I work at a database involving "client age today" -- How can I get Excel to
calulate this for me when I by provide only the birthdate of the client; keep
in mind 'today's date' changes each day. I don't want past client entry ages
to change once entered, I just want to calculate today's client's age.

I subtracted today from the birthdate, divided by 365 but got fractions
which round up -- making a person older. . .and 'todays' date is going to be
different each day.

Suggestions? Leap year?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default calculate age from today's date (changes daily) and birthdate

Hi

=DATEDIF(start date, end date,"y")
so if birthday is in A1 and todays date in B1 then:
=DATEDIF(A1,B1,"y")

HTH
Jean-Guy

"Milkmaiden" wrote:

I work at a database involving "client age today" -- How can I get Excel to
calulate this for me when I by provide only the birthdate of the client; keep
in mind 'today's date' changes each day. I don't want past client entry ages
to change once entered, I just want to calculate today's client's age.

I subtracted today from the birthdate, divided by 365 but got fractions
which round up -- making a person older. . .and 'todays' date is going to be
different each day.

Suggestions? Leap year?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default calculate age from today's date (changes daily) and birthdate

If the date of birth is in B1 and =TODAY() is in A1 then:

=DATEDIF(B1,A1,"y") & " years, " & DATEDIF(B1,A1,"ym") & " months, " &
DATEDIF(B1,A1,"md") & " days"
--
Gary's Student


"Milkmaiden" wrote:

I work at a database involving "client age today" -- How can I get Excel to
calulate this for me when I by provide only the birthdate of the client; keep
in mind 'today's date' changes each day. I don't want past client entry ages
to change once entered, I just want to calculate today's client's age.

I subtracted today from the birthdate, divided by 365 but got fractions
which round up -- making a person older. . .and 'todays' date is going to be
different each day.

Suggestions? Leap year?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default calculate age from today's date (changes daily) and birthdate

Hi

Here is a quick way to enter today's date into a cell in you didn't
know....... CTRL+;

HTH
Jean-Guy

"Gary''s Student" wrote:

If the date of birth is in B1 and =TODAY() is in A1 then:

=DATEDIF(B1,A1,"y") & " years, " & DATEDIF(B1,A1,"ym") & " months, " &
DATEDIF(B1,A1,"md") & " days"
--
Gary's Student


"Milkmaiden" wrote:

I work at a database involving "client age today" -- How can I get Excel to
calulate this for me when I by provide only the birthdate of the client; keep
in mind 'today's date' changes each day. I don't want past client entry ages
to change once entered, I just want to calculate today's client's age.

I subtracted today from the birthdate, divided by 365 but got fractions
which round up -- making a person older. . .and 'todays' date is going to be
different each day.

Suggestions? Leap year?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default calculate age from today's date (changes daily) and birthdate

The shortcut you mentioned is also nice and static...the cell won't change
tomorow.
--
Gary's Student


"pinmaster" wrote:

Hi

Here is a quick way to enter today's date into a cell in you didn't
know....... CTRL+;

HTH
Jean-Guy

"Gary''s Student" wrote:

If the date of birth is in B1 and =TODAY() is in A1 then:

=DATEDIF(B1,A1,"y") & " years, " & DATEDIF(B1,A1,"ym") & " months, " &
DATEDIF(B1,A1,"md") & " days"
--
Gary's Student


"Milkmaiden" wrote:

I work at a database involving "client age today" -- How can I get Excel to
calulate this for me when I by provide only the birthdate of the client; keep
in mind 'today's date' changes each day. I don't want past client entry ages
to change once entered, I just want to calculate today's client's age.

I subtracted today from the birthdate, divided by 365 but got fractions
which round up -- making a person older. . .and 'todays' date is going to be
different each day.

Suggestions? Leap year?

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



All times are GMT +1. The time now is 11:13 PM.

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"