The relevance equation is intended to be a boolean statement. If the statement is true, the question is shown.
In your case, I would insert two hidden equation questions to store the "results" of the first two arrays.
The first equation question (let's call it "equationH20Sum") would sum all of the rows in H20 that are not "Not at all" or "Don't know":
The second equation question (let's call it "equationH21Sum") would sum all of the rows in H21 that are "Yes":
Then the relevance for H22 would be:
Sample survey attached:
In your case, I would insert two hidden equation questions to store the "results" of the first two arrays.
The first equation question (let's call it "equationH20Sum") would sum all of the rows in H20 that are not "Not at all" or "Don't know":
The second equation question (let's call it "equationH21Sum") would sum all of the rows in H21 that are "Yes":
Then the relevance for H22 would be:
Sample survey attached: