![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 6
|
I want to put a past date, say
6/99 in cell A1 and a more recent date say 4/02 in cell B1 I want the number of months to be counted and placed in C1 Thanks John |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Winnipeg
Posts: 2,330
|
Quote:
=(YEAR(B1)-YEAR(A1))*12+MONTH(B1)-MONTH(A1) Regards,
__________________
Barrie Davidson "You're only given a little spark of madness. You mustn't lose it." - Robin Williams |
|
|
|
|
|
|
#3 | ||
|
New Member
Join Date: Mar 2002
Posts: 6
|
Quote:
I don't understand it but hey it works great and I thank you very much for your help John |
||
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|