Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Two checkbox columns to drive checkbox in 3rd column.

I have a pair of checkbox columns, which you can check for different criteria. I have a third column, also a checkbox column.


I am trying to have the 3rd column be checked based off one of the 2 preceding columns being checked.

I tried a formula "=COUNTIFS([Registered (DL)]:[Registered (DL)], 1, [Registered (DPS)]:[Registered (DPS)], 1, false)" which didn't work.


Any assistance?

Best Answers

  • ✭✭✭✭✭✭
    edited 02/05/24 Answer ✓

    Try:

    =IF(OR([Registered (DL)]@row = 1, [Registered (DPS)]@row = 1), 1

  • Community Champion
    Answer ✓

    Hi @Jason F

    Your countifs formula will be counting where BOTH things are true. As you only want to check the 3rd box if one or other box is checked, I would use an IF and OR function:

    =IF(OR([Registered (DL)]@row = 1, [Registered (DPS)]@row = 1), 1)

    This means

    IF [Registered (DL)]@row is checked,

    OR [Registered (DPS)]@row is checked,

    then return 1, (which checks the box).


    Does that help?

Answers

  • ✭✭✭✭✭✭
    edited 02/05/24 Answer ✓

    Try:

    =IF(OR([Registered (DL)]@row = 1, [Registered (DPS)]@row = 1), 1

  • Community Champion
    Answer ✓

    Hi @Jason F

    Your countifs formula will be counting where BOTH things are true. As you only want to check the 3rd box if one or other box is checked, I would use an IF and OR function:

    =IF(OR([Registered (DL)]@row = 1, [Registered (DPS)]@row = 1), 1)

    This means

    IF [Registered (DL)]@row is checked,

    OR [Registered (DPS)]@row is checked,

    then return 1, (which checks the box).


    Does that help?

  • ✭✭✭✭

    Thank you both! I was not even thinking about the OR function. Both are lifesavers.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions

  • I'm trying to create a SUMIF formula that looks at the salesperson name in a column and adds up or totals their $ sales in another column. To ultimately show in Dashboard of Totals Sales by Salesperso…
    User: "Allan Z"
    Answered ✓
    9
    2
  • Good day Smartsheet Team, Getting an unparseable error on this formula: =IF($Name@row <> "",(SUMIFS({Expense}, {Period},1, {Type}, OR(@cell = "RES602782", @cell = "RES602497")),"") Trying to pull in a…
    User: "stratman"
    Answered ✓
    15
    2
  • I have a sheet that compiles all the responses from a form. The sheet has multiple start and end date columns, but only one start and one end date cell is NOT blank depending on the activity selected …
    User: "m_anderson"
    Answered ✓
    13
    2