Checkbox Formulas with 2 conditions

Hello, im trying to generate a formula on what is checked the previous and next week but not the current week. im trying this but with no luck:

=IF(WEEKNUMBER(Date@row) < WEEKNUMBER(TODAY()), WEEKNUMBER(Date@row) > WEEKNUMBER(TODAY()), 1)

Can you help me?

Tags:

Best Answer

Answers

  • L_123
    L_123 ✭✭✭✭✭✭

    Close


    =IF(WEEKNUMBER(Date@row) < WEEKNUMBER(TODAY()), If(WEEKNUMBER(Date@row) > WEEKNUMBER(TODAY()), 1)

    You missed the second if statement. You could also do this with an and

    =IF(and(WEEKNUMBER(Date@row) < WEEKNUMBER(TODAY()), WEEKNUMBER(Date@row) > WEEKNUMBER(TODAY())), 1)

  • Rodrigo Colsa
    Rodrigo Colsa ✭✭✭

    Thank you for the help!

    Unfortunately I try both with no luck

  • Rodrigo Colsa
    Rodrigo Colsa ✭✭✭

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!