[mso] Re: Excel - determining the number of years between 2 dates

  • From: "Ray Blake" <ray@xxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Mon, 11 Aug 2003 21:21:08 +0100

Or, you could leave them formatted as dates and use the DATEDIF formula.

Assuming A1 contains the date of birth and B1 contains =TODAY(), then
input in C1:

=DATEDIF(A1,B1,"y")

Ray Blake

_____________

This email is from Ray Blake, Head of Software Design, GR Business
Process Solutions. It is confidential and intended for the addressee
only. The contents are private and may be legally privileged. If you
receive this email in error we would be grateful if you would advise the
sender and delete the email from your system.

For more information on the services that we offer please visit us at
our website: - www.grbps.com 


-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On
Behalf Of Hamlet Torossian
Sent: 11 August 2003 21:06
To: mso@xxxxxxxxxxxxx
Subject: [mso] Re: Excel - determining the number of years between 2
dates

Hi Suzanne, the easiest way to do it is formatting both cells with the =
date
to general instead of date format and in a cell next to them imply the
following formula =3D(A2-A1)/365 assuming the cells that you use is A1 &
=
A2.

Cheers and hope this helps!

Hamlet Torossian

P.O.Box 16053
2085 Strovolos
Nicosia
Cyprus

Tel: +357 99623410

=20

------------------------ Disclaimer ------------------------
 The content of this email (and any attachment) is
 confidential. It may also be legally privileged or
 otherwise protected from disclosure.=20
 This email should not be used by anyone who is not
 an original intended recipient, nor may it be copied
 or disclosed to anyone who is not an original intended
 recipient. If you have received this email by mistake
 please notify us by emailing the sender, and then
 delete the email and any copies from your system.
 -------------------------------------------------------------


#-----Original Message-----
#From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On =
Behalf
#Of DiMarco, Suzanne
#Sent: Monday, August 11, 2003 22:40
#To: 'mso@xxxxxxxxxxxxx'
#Subject: [mso] Excel - determining the number of years between 2 dates
#
#Can anyone help me?  I'm trying to determine the difference between 2 =
dates
#to determine who old a person is.  The first cell would contain the
#person's
#birthdate and the second cell would contain today's date.  I would
#appreciate any help.  Thank you.
#Suzanne DiMarco
#Desktop Solutions
#327-7517
#
#
#
#*************************************************************
#You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx
=
or
#MicrosoftOffice@xxxxxxxxxxxxxxxx
#
#To send mail to the group, simply address it to mso@xxxxxxxxxxxxx
#
#To Unsubscribe from this group, send an email to
#mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the =
quotes)
#in the subject line.
#
#Or, visit the group's homepage and use the dropdown menu.  This will =
also
#allow you to change your email settings to digest or vacation (no =
mail).
#//www.freelists.org/webpage/mso
#
#To be able to use the files section for sharing files with the group, =
send
#a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an
#invitation with instructions.  Once you are a member of the files =
group,
#you can go here to upload/download files:
#
#http://www.smartgroups.com/vault/msofiles
#*************************************************************

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx
or MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the
quotes) in the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will
also allow you to change your email settings to digest or vacation (no
mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group,
send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an
invitation with instructions.  Once you are a member of the files group,
you can go here to upload/download files:

http://www.smartgroups.com/vault/msofiles
*************************************************************

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: