Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
s s is offline
external usenet poster
 
Posts: 36
Default how do I calculate the age of a person

Hi,

I need the age of a person in years but if they are less than one year old I
need it in months

I tried to do this myself but find it too hard, can anyone help me

Any help would be greatly appreciated

Susan
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default how do I calculate the age of a person

One way:

=IF(DATEDIF(A1,TODAY(),"y")<1, DATEDIF(A1,TODAY(),"m") & " months",
DATEDIF(A1,TODAY(),"y") & " years")

In article ,
S wrote:

Hi,

I need the age of a person in years but if they are less than one year old I
need it in months

I tried to do this myself but find it too hard, can anyone help me

Any help would be greatly appreciated

Susan

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default how do I calculate the age of a person

If someone is born on March 15 2006 they are 1 year old, however your formula
returns 11 months.

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"JE McGimpsey" wrote:

One way:

=IF(DATEDIF(A1,TODAY(),"y")<1, DATEDIF(A1,TODAY(),"m") & " months",
DATEDIF(A1,TODAY(),"y") & " years")

In article ,
S wrote:

Hi,

I need the age of a person in years but if they are less than one year old I
need it in months

I tried to do this myself but find it too hard, can anyone help me

Any help would be greatly appreciated

Susan


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default how do I calculate the age of a person

"Dave F" wrote in message
...
If someone is born on March 15 2006 they are 1 year old


Not for another two days they're not

--

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default how do I calculate the age of a person

Ha, yeah I realized that after I posted that. Was looking at March 15th on
my Outlook calendar and thought that was today.

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Sandy Mann" wrote:

"Dave F" wrote in message
...
If someone is born on March 15 2006 they are 1 year old


Not for another two days they're not

--

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
s s is offline
external usenet poster
 
Posts: 36
Default how do I calculate the age of a person

Thanks that was the answer I was looking for...I apreciate your time...


"S" wrote:

Hi,

I need the age of a person in years but if they are less than one year old I
need it in months

I tried to do this myself but find it too hard, can anyone help me

Any help would be greatly appreciated

Susan

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
person name smart tag Judith Excel Discussion (Misc queries) 0 March 12th 07 03:37 PM
Calculate needed gallons of water, based on weight of person Darryl Excel Worksheet Functions 8 January 12th 07 03:23 PM
Determining the Age of a Person mpenkala Excel Worksheet Functions 5 December 21st 06 02:48 PM
how do i MAX to display the person who got MAX Konrad Walsh Excel Worksheet Functions 3 June 23rd 05 06:50 AM
How do I calculate the age of a person? Doug Mc New Users to Excel 3 May 2nd 05 10:38 PM


All times are GMT +1. The time now is 08:40 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"