If T4=TRUE and T23, T24, T25, T26 (any of these = true) = C10

If T4=TRUE AND T6=TRUE and T23, T24, T25, T26 (any of these = true) = L9

If T6=TRUE and T23, T24, T25, T26 (any of these = true) = L9

Hope this makes sense. Thanks for help!!