I'm looking for a way to use the column number that I get from MATCH in a range reference. I need to count the number of X's in this row, up to a specific point. Here's some code as an example of what I'm trying to get to work.
=COUNTIF($A$14:MATCH($E$1| $A$13:$V$13)$14|"X")
I need to use MATCH (or something equivalent), as it lets me know the number of columns I need to count across. Users may or may not remember to clear out the whole row past this number of columns even though it should only count, say, 10 columns' worth of X's in this row. I already know exactly how many columns to count due to other data on the sheet (referenced as $E$1 in match) that matches a number in the check row, so something along these lines is a preferable solution.