#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default Calculate Dates

Source Data coming in this format 19880716 would like to calculate the
difference in years between the source data date and the date 01/01/2010. How
would I write this formula. Appreciate anyone help--
NINA
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 834
Default Calculate Dates

Either

=2010-LEFT(A1,4)

or

=2010-LEFT(A1,4)-1

depending on whether a part year counts

--

HTH

Bob

"NINA" wrote in message
...
Source Data coming in this format 19880716 would like to calculate the
difference in years between the source data date and the date 01/01/2010.
How
would I write this formula. Appreciate anyone help--
NINA



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Calculate Dates

Assuming the 19880716 to be in Cell A1, use:
=2010-left(A1,4)
--
Thanx & Best Regards,

Faraz!


"NINA" wrote:

Source Data coming in this format 19880716 would like to calculate the
difference in years between the source data date and the date 01/01/2010. How
would I write this formula. Appreciate anyone help--
NINA

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
How to calculate dates Pat Excel Worksheet Functions 6 July 27th 09 05:20 PM
To Calculate the qty b/w two dates vmohan1978 Excel Worksheet Functions 3 May 13th 09 12:20 AM
How can I calculate dates? Saz New Users to Excel 5 August 24th 07 03:24 PM
Calculate dates Carla Excel Worksheet Functions 1 May 4th 06 11:56 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 07:52 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"