I am trying to filter rows by a name and then COUNTIF a column that represents a question that was answered in a "Strongly Agree / Agree ..etc" manner to calculate how many of each category for each question was selected.
Example Data:
name | question 1| question 2 ... ============================= Bob | Agree | Disagree Bob | Strongly A| Agree Red | Disagree | Strongly Agree Blue | Agree | Agree I'd like to get this data from the above:
Bob | question 1 | question 2 ... ================================== Agree | 1 | 1 Disagree| 1 | 1 ... (For those curious: it is an anonymous survey about specific people.)
I do not have a lot of experience with excel I came up with this so far: =COUNTIF(IF(Sheet1!A2:A5="Bob",Sheet1!B2:B5, ""), Sheet2!A2)
This gives me a #VALUE!. I am not exactly sure how to get the range to be just the rows of the related question with the matching name value. Any help would be greatly appreciated!