Help with date formate
I have my months extracted from a date column using =Left(EISD@row,2)
I need a formula to evaluate my month column, if it's 01-06 it returns an S, if its 07-12 (or <=7) then it returns an F.
Best Answer
-
Assuming your result will only ever be 01-12, this should do the trick. The VALUE() function may not necessarily be needed, but I'm not sure what type of date you are pulling the month information from and it isn't going to hurt anything.
=IF([Month Column]@row <> "", IF(VALUE([Month Column]@row) < 7, "S", "F"))
Replace [Month Column] with your column name.
Answers
-
Assuming your result will only ever be 01-12, this should do the trick. The VALUE() function may not necessarily be needed, but I'm not sure what type of date you are pulling the month information from and it isn't going to hurt anything.
=IF([Month Column]@row <> "", IF(VALUE([Month Column]@row) < 7, "S", "F"))
Replace [Month Column] with your column name.
-
Thank you Carson, that worked perfectly.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!