Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Date Range & Difference

Hey Gigs... Need your guidance...

I need to find the difference between list of dates and the result should be
in months - for eg. 01-01-06 minus 31-12-06 is equal to 12 months.

I am sure its an easy fix but i think i am not using the right date format.
Pl. help me...

--
Thanks & have a great time always
pm_arrow
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Date Range & Difference

Check out the DATEDIF function - examples he

http://www.cpearson.com/excel/datedif.aspx

Hope this helps.

Pete

On Oct 29, 2:39 pm, pm_arrow
wrote:
Hey Gigs... Need your guidance...

I need to find the difference between list of dates and the result should be
in months - for eg. 01-01-06 minus 31-12-06 is equal to 12 months.

I am sure its an easy fix but i think i am not using the right date format.
Pl. help me...

--
Thanks & have a great time always
pm_arrow



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Date Range & Difference

=DATEDIF(A1,A2,"M")

gives 11 because it is whole months. You need to make a decision when a part
month is counted and when it is not, for intance does 12/12 count, or 8/1 to
20/12?

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"pm_arrow" wrote in message
...
Hey Gigs... Need your guidance...

I need to find the difference between list of dates and the result should
be
in months - for eg. 01-01-06 minus 31-12-06 is equal to 12 months.

I am sure its an easy fix but i think i am not using the right date
format.
Pl. help me...

--
Thanks & have a great time always
pm_arrow



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
Count difference based on Range Richhall Excel Worksheet Functions 2 September 5th 07 12:06 PM
Sumproduct against worksheet vs named range- any speed difference? Keith R Excel Worksheet Functions 1 August 13th 07 03:12 PM
Greatest difference between a consecutive range of dates Hugsie Bear Excel Discussion (Misc queries) 4 July 27th 06 11:50 AM
Calculating Difference Between Start Date & Time And End Date & Ti Samwar Excel Discussion (Misc queries) 2 December 19th 05 12:42 PM
Labelling a row so it can be used as an offset for sum, difference or range Martin Underwood Excel Discussion (Misc queries) 5 March 18th 05 04:37 PM


All times are GMT +1. The time now is 11:35 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"