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.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 145 Just for fun
- 62 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!