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.

AND-OR-COUNTIF Question

Hi,

I started to build a formula and it doesn't return the required values.

I have a sheet for distribution board testing. There are 25 yellow checkbox columns and 24 green checkbox columns. I have a column with 4 colour symbol (L1-Quad), and a checkbox column (All DB Tested) where the formula needs to return the value.

My formula is as the below

=AND(OR(AND(COUNTIFS([Yellow DB-01-39B/ 4L1]@row:[Yellow DB-WG-01-03/ 3L2]@row, 1) = 25, 1, [L1 - Quad]@row = "Yellow", AND(COUNTIFS([Green DB-01-54B / 4L2 ]@row:[Green DB-ND-01-01/ 1L2]@row, 1) = 24, 1, [L1 - Quad]@row = "Green"))))

My aim is to return (All DB Tested) column checked if yellow is selected and all yellow columns checked or if green selected and all green columns checked.

Please could somebody have a look and tell me know how to change the formula?

Thanks

Szilvia

Best Answer

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions