Need Flag or No Flag based on one or both of two columns being blank or within 7 days

Options
kkath
kkath
edited 12/09/19 in Formulas and Functions

Used this formula to get No Flag and Flag result based on the date/whether the cell was blank.

=IF(ISBLANK([Date1]2), 0, IF([Date1]2<= TODAY(7), 1, 0))

 

Now I need to get a Flag if the date in Date2 column OR Date3 column is within 7 days  and  No Flag if the Date2 column OR Date3 column are blank.

 

I think I got the blank cell part to work:

=IF(OR(ISBLANK([Date2]2), ISBLANK([Date3]2)), 0)

 

I'm not sure how to add in the next-7-days part to that formula.  Any ideas?

Comments

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!