IF Formula to determine current + next months coming up
I'm looking for a way to create the following:
I need to add an identifier that says within the next two months, and then another one that says the next three months nut not including the current as I have that already separated using the formula below. How do I count out 60, 90 days to call them next 2 months, next 3 months, from the starting current month?
=IF([Target Launch Date Current]@row = "", "", IF(AND(YEAR(TODAY()) = YEAR([Target Launch Date Current]@row), MONTH(TODAY()) = MONTH([Target Launch Date Current]@row)), "Current", IF(AND(YEAR(TODAY()) - 1 = YEAR([Target Launch Date Current]@row), MONTH(TODAY()) = 1, MONTH([Target Launch Date Current]@row) = 12), "Previous", IF(AND(YEAR(TODAY()) = YEAR([Target Launch Date Current]@row), MONTH(TODAY()) = MONTH([Target Launch Date Current]@row) + 1), "Previous", ""))))
Thank you in advance
Answers
-
From what I could understand.. you can try using below formula "Column2" is the column name in which you have the Launch dates
=IF([Column2]@row = "", "", IF(([Column2]@row - TODAY(1 - DAY(TODAY()))) > 90, "Next 3 month", IF(([Column2]@row - TODAY(1 - DAY(TODAY()))) > 60, "Next 2 months", "Next month")))
Parul Mishra
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.5K Get Help
- 448 Global Discussions
- 145 Industry Talk
- 481 Announcements
- 5.1K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 73 Community Job Board
- 492 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 304 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!