LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
slymeat
 
Posts: n/a
Default edate and yearfrac functions not tallying

I seem to be getting differing results fromt he use of Yearfrac and edate
functions:

Example (all dates in mm/dd/yy format):

I have used the yearfrac function to calculate the difference in years
between two dates

Cell A4 contains First Date: 31/03/05
Cell D10 contains 2nd Date: 23/06/09

Cell C18 contains formula: Yearfrac(A4,D10,3) - Result is 4.23
I then want to add value in Cell C21 (1.5) to 4.23 and calculate the date:

=EDATE(A4,((C18+C21)*12))

Result is 30/11/2010

However, I also have a different cell containing the function:
=EDATE(D10,C21*12)

I get a different result: 23/12/2010

Can anybody tell me why the results are different or am I missing something
blindingly obvious?


 
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



All times are GMT +1. The time now is 03:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"