[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]Yearfrac formula[/TD]
[TD]output[/TD]
[/TR]
[TR]
[TD]11/10/2012[/TD]
[TD][/TD]
[TD]12/30/2015[/TD]
[TD]Yearfrac(A,C,1)[/TD]
[TD]3.1348391513[/TD]
[/TR]
[TR]
[TD]11/10/2012[/TD]
[TD]11/10/2015[/TD]
[TD]12/30/2015[/TD]
[TD]Yearfrac(A,B,1)+Yearfrac(B,C,1)[/TD]
[TD]3.1349329133[/TD]
[/TR]
</tbody>[/TABLE]
the date is in mm/dd/yyyy format
Anyone know why the outputs is different?
it happen when there is leap year. If column A are year 2013, the output for row 1 & 2 is the same.
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]Yearfrac formula[/TD]
[TD]output[/TD]
[/TR]
[TR]
[TD]11/10/2012[/TD]
[TD][/TD]
[TD]12/30/2015[/TD]
[TD]Yearfrac(A,C,1)[/TD]
[TD]3.1348391513[/TD]
[/TR]
[TR]
[TD]11/10/2012[/TD]
[TD]11/10/2015[/TD]
[TD]12/30/2015[/TD]
[TD]Yearfrac(A,B,1)+Yearfrac(B,C,1)[/TD]
[TD]3.1349329133[/TD]
[/TR]
</tbody>[/TABLE]
the date is in mm/dd/yyyy format
Anyone know why the outputs is different?
it happen when there is leap year. If column A are year 2013, the output for row 1 & 2 is the same.