I have a spreadsheet which looks as follows:
Finish Date Begin Date No. of Months
07-Mar-02 07-Mar-01 12M
09-Apr-02 09-Oct-01 6M
05-Feb-04 05-Feb-02 2Y
24-Feb-03 22-Feb-02 12M
I would like the "No. of Months" field filled in automatically as soon as "Finish Date" and "Begin Date" is filled. Is this possible?
It would need to round up to the nearest number of weeks or months or years, e.g. in the last row where 24-Feb-03 ---> 22-Feb-02 is not exactly 12 months.
I'm very new to VBA so need as much help as possible with regards to coding.
Many thanks in advance.