Everyday we come across some problem for which we try, research for hours and once solved, looks so easy in MS Excel.I like to keep a note of it and share with others, so people can use them.These notes are not necessarily my own writing but are the one which I came accross during my research over the net to find out solutions.
Monday, November 21, 2011
MS Excel: DATEDIF function
The DATEDIF function can be used to calculate the number of days/moths/years between two dates in versions of Excel from 97 to 2007.
=DATEDIF(B9,C9,"m")/12
=DATEDIF(B9,TODAY(),"d")
=DATEDIF(B9,C9,"m")
It is interesting to note that DATEDIF is not listed with other functions under the formula tab in Excel 2007.
Subscribe to:
Posts (Atom)