View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
David Biddulph[_2_] David Biddulph[_2_] is offline
external usenet poster
 
Posts: 8,651
Default formular discrepencies

And of course =TODAY()-L2 (if formatted as General or Number) gives the same
result as =DATEDIF(L2,TODAY(),"d")
--
David Biddulph

"T. Valko" wrote in message
...
DAYS360 is based on a 360 day year, 12 months * 30 days per month.

DATEDIF is based on a 365/366 day year.
--
Biff
Microsoft Excel MVP


"aussiegirlone" wrote in message
...
Can anyone tell me why these two formulas give two different results? Can
you
fix the discrepancy of three days

=IF(Q2=Q1,IF(AND(Q20,Q10),DAYS360(Q2,Q1),""),"" )
Tuesday, 1 July 2008
Monday, 24 November 2008
(143)

=DATEDIF(L2,TODAY(),"d")
Tuesday, 1 July 2008
146