Month and Year output as text

Options
Josh W
Josh W ✭✭✭✭
edited 05/03/24 in Formulas and Functions

Hi everyone, I need to generate a month and year from a date (text month, not number)

For example, 1/1/24 becomes 'January 2024'. Specifically, I need the day removed.

Is there a more efficient way than this formula:

=IF(MONTH([Date Column]@row) = 1, "January", IF(MONTH([Date Column]@row) = 2, "February", IF(MONTH([Date Column]@row) = 3, "March", IF(MONTH([Date Column]@row) = 4, "April", IF(MONTH([Date Column]@row) = 5, "May", IF(MONTH([Date Column]@row) = 6, "June", IF(MONTH([Date Column]@row) = 7, "July", IF(MONTH([Date Column]@row) = 8, "August", IF(MONTH([Date Column]@row) = 9, "September", IF(MONTH([Date Column]@row) = 10, "October", IF(MONTH([Date Column]@row) = 11, "November", IF(MONTH([Date Column]@row) = 12, "December", "(Blank)")))))))))))) + " " + YEAR([Date Column]@row)

If not, feel free to copy it & use it yourself :-)

Thanks!

Tags:

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!