title: Combining VLOOKUP or MATCH and COUNTIF
body: <p>I've been trying (and failing) to work out if it's possible to use a formula to count the "Yes" answers depending on whether there is certain text in a row above....and this certain text is in a data validation list.</p>
  
  <p>For example, I have the sheet1 below and then on sheet2 I have a validation list in cell k1 with "school 1", "school 2" etc. I'm trying to see if it's possible in cell H4 of sheet2 to count the number of "Yes" in row 3 of sheet1 only if the contents of K1 (either "School 1" or "School 2" depending on which I select from the list) appears in row 2 in the same column?</p>
  
  <p>A................B...............C................D</p>
  
  <p>School1.....School2....School1.....School1</p>
  
  <p>Yes............No............Yes.............Yes</p>
  
  <p>I'm not that great with Excel so would really appreciate it if someone could let me know if this just isn't possible!</p>
  
  <p>Many thanks!</p>