Populate Q1, Q2, etc with IF function not working

Hi there,

I currently have a formula that is working for Q1 & Q2, but for some reason, it is not working for Q3 & Q4. I am at a loss as to why this is not working properly. Any ideas?


=IF(MONTH([End Training Date]@row) < 4, "Q1", IF(MONTH([End Training Date]@row) < 7, "Q2", IF(MONTH([End Training Date]@row), 10 <"Q3", "Q4")))

Tags:

Best Answer

  • Melissa Manzanera
    Answer ✓

    Hi Gabby,

    I was looking through your formula and it seems that the coma next to the 10 has been misplaced and the < sign as well:

    ORIGINAL FORMULA

    =IF(MONTH([End Training Date]@row) < 4, "Q1", IF(MONTH([End Training Date]@row) < 7, "Q2", IF(MONTH([End Training Date]@row), 10 <"Q3", "Q4")))

    CORRECTED FORMULA

    =IF(MONTH([End Training Date]@row) < 4, "Q1", IF(MONTH([End Training Date]@row) < 7, "Q2", IF(MONTH([End Training Date]@row)<10, "Q3", "Q4")))


    Let me know if this was helpful

    -Melissa

Answers

  • Melissa Manzanera
    Answer ✓

    Hi Gabby,

    I was looking through your formula and it seems that the coma next to the 10 has been misplaced and the < sign as well:

    ORIGINAL FORMULA

    =IF(MONTH([End Training Date]@row) < 4, "Q1", IF(MONTH([End Training Date]@row) < 7, "Q2", IF(MONTH([End Training Date]@row), 10 <"Q3", "Q4")))

    CORRECTED FORMULA

    =IF(MONTH([End Training Date]@row) < 4, "Q1", IF(MONTH([End Training Date]@row) < 7, "Q2", IF(MONTH([End Training Date]@row)<10, "Q3", "Q4")))


    Let me know if this was helpful

    -Melissa

  • ja ja ja. Thank you for being a second set of eyes, this fixed it right away!

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!