Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Datedif doesn't work the same in Excel 2007

We have a lot of spreadsheets which use the datedif function. The answers
produced are different on Excel 2007 when compared to Excel 2000 or 2003.

Egregious examples (using dd/mm/yy date format) are
=DATEDIF("30/01/94","01/02/95","yd") which gives -1
or =DATEDIF("01/01/94","01/02/95","yd") gives 31 but
=DATEDIF("02/01/94","01/02/95","yd") gives 27

This seems like a bug, but I couldn't find much on the internet about this.

Is this a known issue? Is there a simple workaround?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Datedif doesn't work the same in Excel 2007

Yes, there is a bug in XL-2007.


"EricK" wrote:

We have a lot of spreadsheets which use the datedif function. The answers
produced are different on Excel 2007 when compared to Excel 2000 or 2003.

Egregious examples (using dd/mm/yy date format) are
=DATEDIF("30/01/94","01/02/95","yd") which gives -1
or =DATEDIF("01/01/94","01/02/95","yd") gives 31 but
=DATEDIF("02/01/94","01/02/95","yd") gives 27

This seems like a bug, but I couldn't find much on the internet about this.

Is this a known issue? Is there a simple workaround?

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
I was using Excel 2007, now 2003 and my Macros won't work Jaynemoggy Excel Worksheet Functions 2 September 21st 07 11:14 PM
Excel 2007 shortcut Ctrl and + doesn't work LTJ Excel Discussion (Misc queries) 4 June 18th 07 01:32 PM
Lost all my work in Excel 2007 Cali Tech Excel Discussion (Misc queries) 3 March 9th 07 08:01 PM
Horizontal Scroll will not work in Excel 2007????? Skiunow Excel Discussion (Misc queries) 10 November 23rd 06 01:47 AM
DateDif Average? Damn DateDif UTCHELP Excel Worksheet Functions 14 November 17th 05 10:30 AM


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