4
When I create a formula =YEARFRAC("1/1/2017","12/31/2017")
it returns 1. One year between 1/1/17 & 12/31/17. However when I create =YEARFRAC("1/1/2017","06/30/2017")
I was expecting 0.5 i.e. six months from 1/1/17 thru 6/30/17, but it returns 0.4972
However when one more day is added to it i.e. =YEARFRAC("1/1/2017","07/01/2017")
it now returns 0.5.
I am not very clear how this function really works. Which is the most correct option for the [basis] parameter i.e. third optional parameter in YEARFRAC?
Thanks.