This is a screenshot of my excel file.
How to increment # of attend classes based on yes or no drop-list.
# of attend classes
Where you have the zero (in G2):
=COUNTIF(I2:ZZ2,"Yes")
This will add one for each cell in the given range which matches "Yes".