# IF/AND Formula

✭✭
edited 12/09/19

I am trying to create a formula to track invoices that are completed under 30 days.

If the number in the "Invoice Duration" is less than 30 I'd like the next column "<30 Days" to populate with "Yes"

If the number in "Invoice Duration" is more than 30 I'd like it to populate "No"

Thank you for all the help!

• ✭✭✭✭✭✭

Hi,

Try something like this.

The formula will show Yes if the cell is empty. Is that ok?

=IF([Invoice Duration]1 >= 30; "No"; IF([Invoice Duration]1 < 30; "Yes"))

The same version but with the below changes for your and others convenience.

=IF([Invoice Duration]1 >= 30, "No", IF([Invoice Duration]1 < 30, "Yes"))

Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.

Did it work?

Have a fantastic weekend!

Best,

Andrée Starå

Workflow Consultant @ Get Done Consulting

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.

• ✭✭✭✭✭✭
edited 05/07/19

Hi again,

This will be empty if the invoice duration is empty and I also added the @row function so you need not think about the rows.

=IF([Invoice Duration]@row = ""; ""; IF([Invoice Duration]@row >= 30; "No"; IF([Invoice Duration]@row < 30; "Yes")))

The same version but with the below changes for your and others convenience.

=IF([Invoice Duration]@row = "", "", IF([Invoice Duration]@row >= 30, "No", IF([Invoice Duration]@row < 30, "Yes")))

Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.

Did it work?

Have a fantastic week!

Best,

Andrée Starå

Workflow Consultant @ Get Done Consulting

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.

• ✭✭

Yes! Thank you so much!

• ✭✭✭✭✭✭

Excellent!

Happy to help!

Best,

Andrée

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.

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!