![]() |
![]() |
|
|||||||
| 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: Feb 2002
Location: Brisbane, Down Under
Posts: 533
|
I need a formula that looks at todays date and returns the financial month (not calendar)as an integer eg February should be returned as 8 and can be either +ve or -ve as I will use abs() to convert it. I know it can be done with a lookup table but I was hoping to avoid this. Should be easy but maths was not my strong subject.
|
|
|
|
|
|
#2 |
|
Guest
Posts: n/a
|
=MONTH(TODAY())
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
Should read :-
=MONTH(TODAY())+6 |
|
|
|
#4 | |
|
Board Regular
Join Date: Feb 2002
Location: Brisbane, Down Under
Posts: 533
|
Quote:
|
|
|
|
|
|
|
#5 |
|
Guest
Posts: n/a
|
=IF(MONTH(B1)>6,MONTH(B1)-6,MONTH(B1)+6)
|
|
|
|
#6 |
|
Board Regular
Join Date: Feb 2002
Location: Brisbane, Down Under
Posts: 533
|
Thanks - modified to fit my requirement of current month as follows:
=IF(MONTH(NOW())>6,ABS(MONTH(NOW())-6),MONTH(NOW())+6) should have known this |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|