Search code examples
excelspreadsheetauto-increment

How to make auto-increment the cell?


This is a screenshot of my excel file.

How to increment # of attend classes based on yes or no drop-list.


Solution

  • 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".