# Is it possible to make a formula for completed in due month?

β­β­

Hi everyone π

Is it possible to create a formula for completed in due month ( a yes/no dropdown column).

Thank you very much

• β­β­β­β­β­β­

Does this work?

=IFERROR(IF(AND(MONTH([Due Date]@row) = MONTH([Completed Date]@row), YEAR([Due Date]@row) = YEAR([Completed Date]@row)), "Yes", "No"), "")

• β­β­β­β­β­β­

I hope you're well and safe!

Try something like this.

This will work as long as it's the same year. Will one of the dates ever be in a different year than the other?

=IF(AND([Due Date]@row <> "", [Completed Date]@row <> ""), IF(MONTH([Due Date]@row) = MONTH([Completed Date]@row), "Yes", "No"))

Did that work/help?

I hope that helps!

Be safe, and have a fantastic weekend!

Best,

AndrΓ©e StarΓ₯ | Workflow Consultant / CEO @ WORK BOLD

βDid my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!

SMARTSHEET EXPERT CONSULTANT & PARTNER

AndrΓ©e StarΓ₯ | Workflow Consultant / CEO @ WORK BOLD

W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

• β­β­

Hi Andree,

Thank you so much for your response. Unfortunately it came up as incorrect argument set. I will have some instances where the completed date could be Jan of next year but the due date would be December of this year.

Any help on where I am going wrong would be greatly appreciated!

• β­β­β­β­β­β­

Does this work?

=IFERROR(IF(AND(MONTH([Due Date]@row) = MONTH([Completed Date]@row), YEAR([Due Date]@row) = YEAR([Completed Date]@row)), "Yes", "No"), "")

• β­β­

Yes !!! Thanks so much Paul !!! ππ

Thank you both for answering my question!

• β­β­β­β­β­β­

Excellent!

Happy to help!

βPlease support the Community by marking the post(s) that helped or answered your question or solved your problem with the accepted answer/helpful, Insightful/Vote Up/Awesome. It will make it easier for others to find a solution or help to answer!

SMARTSHEET EXPERT CONSULTANT & PARTNER

AndrΓ©e StarΓ₯ | Workflow Consultant / CEO @ WORK BOLD

W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

• β­β­β­β­β­β­

Happy to help. ποΈ

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!