A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Calculate Dates



 
 
Thread Tools Display Modes
  #1  
Old March 29th, 2010, 02:21 PM posted to microsoft.public.excel.misc
Nina
external usenet poster
 
Posts: 129
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  
Old March 29th, 2010, 02:25 PM posted to microsoft.public.excel.misc
Bob Phillips[_3_]
external usenet poster
 
Posts: 489
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  
Old March 29th, 2010, 02:26 PM posted to microsoft.public.excel.misc
Faraz Ahmed Qureshi[_2_]
external usenet poster
 
Posts: 40
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

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:23 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.