+ Reply to Thread
Results 1 to 3 of 3

Require a formula for calculating a date

Hybrid View

  1. #1
    Registered User
    Join Date
    04-17-2012
    Location
    Glasgow
    MS-Off Ver
    Excel 2003
    Posts
    6

    Require a formula for calculating a date

    Hi

    I need to be able to calculate (in one cell) the age of someone based on the date (in two other cells).

    I have attached the workbook in question.example.xls

    What I need is a formula is Cell G6 which would calculate the persons age based on the birth date in Cell D7 and the final date in Cell D10.

    Please let me know if further details are required.

    Many Thanks

    Stacey

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Require a formula for calculating a date

    A little known Excel Function

    =DATEDIF(D7,D10,"y")
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: Require a formula for calculating a date

    Hi Stacey,

    Does this work for you...

    =DATEDIF(D7,D10,"y") & " years, " & DATEDIF(D7,D10,"ym") & " months, " & DATEDIF(D7,D10,"md") & " days"
    HTH
    Regards, Jeff

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1