I need to make some calculations based on yes_no responses. The questions are inside a set of repeats where the user gathers plant data from multiple plants along multiple transects. At the end, for all plants selected 'yes', I need the total number of plants recorded and the total number of "bites" on those plants. The following statement generates an error stating 'if' requires 3 arguments and only 2 provided.
Once I get this figured out, I will do the same with the number of plants recorded 'yes' and divide the numbers. I'm sure there is a long calculation that can do this all at once, but for now, this will do.