Multiple IFs around Dates

I am trying to create a column formula that says if [Date of Record]@row is less than a specific date (7/14/23) for instance, then return the number 43. If it is between 7/14/23 and 8/22/23 then 46, and so on. Is this possible?

Michelle Choate

michelle.choate@outlook.com

Always happy to walk through any project you need help with! Book time with me here: https://calendly.com/michelle-choate

Tags:

Best Answer

  • SoS | Dan Palenchar
    SoS | Dan Palenchar Community Champion
    Answer โœ“

    Hello @Michelle Choate 2 !

    Yes, use this formula:

    =IF([Date of Record]@row < DATE(2023, 7, 14), 43, IF([Date of Record]@row <= DATE(2023, 8, 22), 46))

    It looks like this:

    image.png











































    You can keep adding IF() statements to this for additional date limits and outputs.

    Hope that helps!

    ___________________________________________________________________________________________

    ๐Ÿ‘จ๐Ÿผโ€๐Ÿ’ปย Dan Palenchar |ย School of Sheets Solutions Consultingย | Smartsheet Aligned Gold Partner

    If this response helped you please help me & the community by accepting it and reacting as you see fit (๐Ÿ’กinsightful, โฌ†๏ธ Vote Up, and/or โค๏ธAwesome).

    ๐Ÿ†˜ Smartsheet Consulting Inquiries:ย schoolofsheets.com/workwithus

    โ–ถ๏ธ Smartsheet Tutorial Videos:ย schoolofsheets.com/youtube

    PS - If you have a follow up response attention useย @Dan Palencharย so I get notified of your reply!

    School of Sheets (Smartsheet Partner)

    If my answer helped please accept and react w/๐Ÿ’กInsightful, โฌ†๏ธ Vote Up, โค๏ธAwesome!

Answers

  • SoS | Dan Palenchar
    SoS | Dan Palenchar Community Champion
    Answer โœ“

    Hello @Michelle Choate 2 !

    Yes, use this formula:

    =IF([Date of Record]@row < DATE(2023, 7, 14), 43, IF([Date of Record]@row <= DATE(2023, 8, 22), 46))

    It looks like this:

    image.png











































    You can keep adding IF() statements to this for additional date limits and outputs.

    Hope that helps!

    ___________________________________________________________________________________________

    ๐Ÿ‘จ๐Ÿผโ€๐Ÿ’ปย Dan Palenchar |ย School of Sheets Solutions Consultingย | Smartsheet Aligned Gold Partner

    If this response helped you please help me & the community by accepting it and reacting as you see fit (๐Ÿ’กinsightful, โฌ†๏ธ Vote Up, and/or โค๏ธAwesome).

    ๐Ÿ†˜ Smartsheet Consulting Inquiries:ย schoolofsheets.com/workwithus

    โ–ถ๏ธ Smartsheet Tutorial Videos:ย schoolofsheets.com/youtube

    PS - If you have a follow up response attention useย @Dan Palencharย so I get notified of your reply!

    School of Sheets (Smartsheet Partner)

    If my answer helped please accept and react w/๐Ÿ’กInsightful, โฌ†๏ธ Vote Up, โค๏ธAwesome!

  • Michelle Choate 2
    Michelle Choate 2 Community Champion

    Perfect! Thank you!

    Michelle Choate

    michelle.choate@outlook.com

    Always happy to walk through any project you need help with! Book time with me here: https://calendly.com/michelle-choate

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!