# IF with due date of payment

Options
✭✭✭✭

Hi dear Community,

I need to find the final formula to show in which quarter is a payment due.

My problem is the quarterly, half year or yearly payment 😏

• ✭✭✭✭✭✭
Options

I would use an AND statement in that If Statement. It would be formatted like below... You're basically checking to make sure both variables are true.

IF(AND(Zahlwelse@row >= 1, Zahlwelse@row <=3), Zahlbetrag@row

• ✭✭✭✭
Options

thank you @Mike Wilday ,

but how considers your formula in which quarter is the payment due - based on column "Fälligkeit" (due date) ?

• ✭✭✭✭✭✭
Options

I'm sorry, I misunderstood the question. Try using the "Fälligkeit" column in addition to the Month formula...

IF(AND(Month(Fälligkeit@row)>=1, Month(Fälligkeit@row)<=3), Quarter 1, ...

This will compare the months to determine whether it's in Quarter 1 or not and can be replicated for Months 4-6 for quarter 2, 7-9 for quarter 3, and 10-12 for quarter 4. Hopefully, that will put you in the right position to develop your formula.

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!