Help with Determining if date@row occurred last month using multiple criteria.

Jackie Bhamornsiri
Jackie Bhamornsiri โœญโœญโœญ

Hi. I'm looking for some help with a formula.

I'm using the following formula to identify if the date last touched occurred last month, which works perfectly, but it was not my formula (which is why I'm having problems)โ€ฆ

=IFERROR(IF(AND(MONTH(TODAY()) = 1, YEAR(TODAY()) - YEAR([Last Touched]@row) = 1, (MONTH(TODAY()) - MONTH([Last Touched]@row) = -11)), "Previous Month", IF(YEAR(TODAY()) = YEAR([Last Touched]@row), IF(MONTH(TODAY()) - MONTH([Last Touched]@row) = 1, "Previous Month", "-"), "-")), "-")

I'm trying to create an IF OR formula where if the date in the "Last Touched" column occurred last month OR if the date in the "RM Close Date" occurred last month, then answer "Previous Month"; otherwise, answer "_."

Since I don't understand the formula I'm starting with, I'm having trouble adding the OR statement. Can anyone help me?

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!