Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Saz Saz is offline
external usenet poster
 
Posts: 15
Default How can I calculate dates?

Hi,

I have to find out how old is the past date from today's date? Example
- Date of birth (A1) = 01/01/1978 and today's date (B1) = 08/15/07 so
on C1 (B1-A1) = ?

Thank you,
Sajan

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11,058
Default How can I calculate dates?

=DATEDIF(A1,B1,"y") & " years, " & DATEDIF(A1,B1,"ym") & " months, " &
DATEDIF(A1,B1,"md") & " days"

--
Gary''s Student - gsnu200737


"Saz" wrote:

Hi,

I have to find out how old is the past date from today's date? Example
- Date of birth (A1) = 01/01/1978 and today's date (B1) = 08/15/07 so
on C1 (B1-A1) = ?

Thank you,
Sajan


  #3   Report Post  
Posted to microsoft.public.excel.newusers
Saz Saz is offline
external usenet poster
 
Posts: 15
Default How can I calculate dates?

Thank you Gary....that works perfect.


On Aug 15, 2:56 pm, Gary''s Student
wrote:
=DATEDIF(A1,B1,"y") & " years, " & DATEDIF(A1,B1,"ym") & " months, " &
DATEDIF(A1,B1,"md") & " days"

--
Gary''s Student - gsnu200737



"Saz" wrote:
Hi,


I have to find out how old is the past date from today's date? Example
- Date of birth (A1) = 01/01/1978 and today's date (B1) = 08/15/07 so
on C1 (B1-A1) = ?


Thank you,
Sajan- Hide quoted text -


- Show quoted text -



  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default How can I calculate dates?

Beautiful! However, I could not see the function(s) you used in the Excel
(2003) function List to enable me get more information. Is it DATE and DIF,
or DATED and IF, or am I on the wrong lane?

Nuru

"Gary''s Student" wrote:

=DATEDIF(A1,B1,"y") & " years, " & DATEDIF(A1,B1,"ym") & " months, " &
DATEDIF(A1,B1,"md") & " days"

--
Gary''s Student - gsnu200737


"Saz" wrote:

Hi,

I have to find out how old is the past date from today's date? Example
- Date of birth (A1) = 01/01/1978 and today's date (B1) = 08/15/07 so
on C1 (B1-A1) = ?

Thank you,
Sajan


  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 35,218
Default How can I calculate dates?

Oddly, =datedif() only appears in xl2k's help.

Chip Pearson has some very nice notes:
http://www.cpearson.com/excel/datedif.htm

(Short for date-difference, I bet.)



NURU wrote:

Beautiful! However, I could not see the function(s) you used in the Excel
(2003) function List to enable me get more information. Is it DATE and DIF,
or DATED and IF, or am I on the wrong lane?

Nuru

"Gary''s Student" wrote:

=DATEDIF(A1,B1,"y") & " years, " & DATEDIF(A1,B1,"ym") & " months, " &
DATEDIF(A1,B1,"md") & " days"

--
Gary''s Student - gsnu200737


"Saz" wrote:

Hi,

I have to find out how old is the past date from today's date? Example
- Date of birth (A1) = 01/01/1978 and today's date (B1) = 08/15/07 so
on C1 (B1-A1) = ?

Thank you,
Sajan



--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default How can I calculate dates?

Thanks!!!

Nuru

"Dave Peterson" wrote:

Oddly, =datedif() only appears in xl2k's help.

Chip Pearson has some very nice notes:
http://www.cpearson.com/excel/datedif.htm

(Short for date-difference, I bet.)



NURU wrote:

Beautiful! However, I could not see the function(s) you used in the Excel
(2003) function List to enable me get more information. Is it DATE and DIF,
or DATED and IF, or am I on the wrong lane?

Nuru

"Gary''s Student" wrote:

=DATEDIF(A1,B1,"y") & " years, " & DATEDIF(A1,B1,"ym") & " months, " &
DATEDIF(A1,B1,"md") & " days"

--
Gary''s Student - gsnu200737


"Saz" wrote:

Hi,

I have to find out how old is the past date from today's date? Example
- Date of birth (A1) = 01/01/1978 and today's date (B1) = 08/15/07 so
on C1 (B1-A1) = ?

Thank you,
Sajan



--

Dave Peterson

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
Calculate dates Carla Excel Worksheet Functions 1 May 4th 06 11:56 PM
calculate dates [email protected] Excel Discussion (Misc queries) 2 November 21st 05 07:04 PM
How do I calculate the difference between 2 dates (m,d,y) ? ady_sandu Excel Worksheet Functions 8 September 29th 05 05:09 PM
How do I calculate an age from 2 dates? UMMY Excel Worksheet Functions 3 August 2nd 05 10:36 PM
How do I calculate dates? MKChick Excel Worksheet Functions 2 April 15th 05 04:53 PM


All times are GMT +1. The time now is 03:04 PM.

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"