I have a sheet that I am trying to return a 1 if the due date is within the next 30 days, a 2 if the due date is between 31 and 90 days, and a 3 if the due date is over 90 days. The formula below returns the 1 correctly but gives me an #Incorrect Argument error for the others. Can anyone let me know what I am doing wrong? Thanks so much in advance!
=IF([Due Date]@row <= TODAY(+30), 1, IF(AND([Due Date]@row <= TODAY(+31), [Due Date]@row <= TODAY(+90), 2, 3)))