# Check a Box, Reference Another Sheet, Days from today

Options
✭✭

Hello,

I am working with 2 sheets. 1 sheet is providing a summary of the other sheet. I need assistance with creating the formula.

On the summary sheet, I want to check a box if there is a row listed on the other sheet with the same city and has a scheduled date of 6 months from today.

Formula:

=IF({Site}, =Site@row, {Scheduled Date}, @cell <= TODAY(180)), 1, 0)

Thank you for the help.

Tags:

• ✭✭✭✭✭✭
Options

=IF(COUNTIFS({Site}, @cell = Site@row, {Scheduled Date}, AND(@cell >= TODAY(), @cell <= TODAY(180))) > 0, 1)

• ✭✭✭✭✭✭
Options

Try this...

=IF(COUNTIFS({Site}, @cell = Site@row, {Scheduled Date}, @cell<= TODAY(180)) > 0, 1)

• ✭✭
Options

Thanks, @Paul Newcome !

The checkbox is working, but I see how my initial ask didn't communicate my desired outcome correctly. I'd like to check the box if there is a date listed on the opposite sheet between today and 180 days from today. Is there a 'between dates' function that can be used? Thank you

• ✭✭✭✭✭✭
Options

=IF(COUNTIFS({Site}, @cell = Site@row, {Scheduled Date}, AND(@cell >= TODAY(), @cell <= TODAY(180))) > 0, 1)

• ✭✭
Options

Thank you @Paul Newcome 💪 Works perfectly!

• ✭✭✭✭✭✭
Options

Happy to help. 👍️

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!