From: Terence D'Souza Terence on
A formula written (combination of datedif & vlookup) in Excel 2003 does not
show the same value when opened in Excel 2007.
This is a salary calculation where based on Date of Joining.
Yearly increment is due as per date of Joining
Suppose the Date of Joining is 10th of Dec
The intent is to pay 9 days on the previous increment & 23 days on the new
increment.
Excel 2003 shows the correct outcome.
From: T. Valko on
There is a bug in DATEDIF when used in Excel 2007 with service pack 2.

--
Biff
Microsoft Excel MVP


"Terence D'Souza" <Terence D'Souza(a)discussions.microsoft.com> wrote in
message news:A75165A0-1399-4257-BDD6-EE3DA50C2FF8(a)microsoft.com...
>A formula written (combination of datedif & vlookup) in Excel 2003 does not
> show the same value when opened in Excel 2007.
> This is a salary calculation where based on Date of Joining.
> Yearly increment is due as per date of Joining
> Suppose the Date of Joining is 10th of Dec
> The intent is to pay 9 days on the previous increment & 23 days on the new
> increment.
> Excel 2003 shows the correct outcome.


From: Ashish Mathur on
Hi,

Psot the exact dates, your datedif formula and the expected answer

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Terence D'Souza" <Terence D'Souza(a)discussions.microsoft.com> wrote in
message news:A75165A0-1399-4257-BDD6-EE3DA50C2FF8(a)microsoft.com...
> A formula written (combination of datedif & vlookup) in Excel 2003 does
> not
> show the same value when opened in Excel 2007.
> This is a salary calculation where based on Date of Joining.
> Yearly increment is due as per date of Joining
> Suppose the Date of Joining is 10th of Dec
> The intent is to pay 9 days on the previous increment & 23 days on the new
> increment.
> Excel 2003 shows the correct outcome.