Consulting

Results 1 to 3 of 3

Thread: Solved: How to get an age from a DOB header with a Stop date?

  1. #1
    VBAX Regular
    Joined
    Dec 2010
    Posts
    7
    Location

    Solved: How to get an age from a DOB header with a Stop date?

    I have a spreadsheet that has a long list of patients with lots of information. So im basically trying to figure out how to get the patients age when they where admitted to the hospital which i have a date for that... DOB is in header E1 and date of admission is on header AU....

    Both dates are in this type of format 00/00/0000 0:00

    Its about 1k patients but they all have a DOB and an admission date... If someone can please help i would be very grateful

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Try

    =DATEDIF(E2,AU2,"Y")&" years "&DATEDIF(E2,AU2,"YM")&" months "&DATEDIF(E2,AU2,"MD")&" days"
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Regular
    Joined
    Dec 2010
    Posts
    7
    Location
    That worked perfectly thank you. =)

Posting Permissions

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