![]() |
![]() |
|
|||||||
| 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: Apr 2002
Posts: 9
|
In F1 I need a formula that will look at the date in E1 and if the date is any date in Jan, then put in column F a 1, if it is a February date, then put in column F a 2, and so on.
Can someone tell me how to do this? Thanks Terry |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
No IF is required. Use...
=MONTH(E1) |
|
|
|
|
|
#3 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,314
|
Quote:
=MONTH(E1) |
|
|
|
|
|
|
#4 |
|
New Member
Join Date: Apr 2002
Posts: 9
|
Thanks - I always think must be more complicated than they really are. So easy I never would have figured it out. Thanks Again.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|