Forum Discussion
spinaz0070
Jan 26, 2024Copper Contributor
How to check if all cells in a non congruent range/list meet specific criteria. See below.
I am trying to use the following formula to see if 1. All 39 cells in row C have data, 2. All cell values are greater than 225, and 3. All cell values are less then 384. If all conditions are met, t...
Patrick2788
Jan 29, 2024Silver Contributor
I offer a 365 solution:
=LET(
rng, C17:C93,
wrapped, WRAPROWS(rng, 2, ""),
vector, TOCOL(TAKE(wrapped, , 1), 1),
tally, COUNT(vector),
total, SUM(vector),
IF(AND(tally = 39, total > 225, total < 384), "Pass", "Fail")
)