# IF statement

Options
✭✭
edited 12/09/19

I am working on a sheet and want to incorporate an IF (or maybe an IF AND) statement based on the date items are submitted to them for review, which is one of the date columns in the sheet.

Here are the conditions I want to test:

1) If today is less than or equal to 3 weeks from the submission date, turn the RYG ball Green.

2) If today is less than or equal to 6 but more than 3 weeks from the submission date, turn the RYG ball YELLOW.

3) If today is less than or equal to 8 but more than 6 weeks from the submission date, turn the RYG ball RED.

OR

Could this be better accomplished with Conditional Formatting?

Any help is appreciated!!

• ✭✭✭✭✭✭
Options

If you are trying to look at whether today is x number of weeks AFTER the submission date, you would use something like this...

=IF(TODAY() <= [Submission Date]@row + 21, "Green", IF(TODAY() <= [Submission Date]@row + 42, "Yellow", IF(TODAY() <= [Submission Date]@row + 56, "Red")))

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!