I am actually using Google Sheets (Google Drive), but I guess it's always easy to look for a translation of the formula from Excel.
So, say I have a mortgage or a loan issued at a specific date in the past, and I want to calculate the number of payments made...
I see I can insert in cells commands of the type:
=TIME(YEAR(2001),MONTH(5),DAY(1))
and also
=TIME(YEAR(NOW()),MONTH(NOW()),DAY(NOW()))
My interest is in subtracting the latter from the former, and outputting the number of months elapsed.