![]() |
![]() |
|
|||||||
| 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 |
|
Board Regular
Join Date: Mar 2002
Posts: 473
|
I need to shown the current month (text), in say cell A1 and the current year in cell B1.
If A45 = <=NOW()> then =YEAR(A45) in cell B1 gives me the current year OK but =MONTH(A45)entered in cell A1 just gives 4. I am sure the answer is simple but I dont know what it is. Help!! eD |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
In B1 enter: =IF(A45<=TODAY(),YEAR(A45),"") |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|