I need to use the COUNTIF formula on every 40 rows. For example, =COUNTIF(J2:J41,"Yes"). I need this pattern to autofill into 3,000+ cells as follows:
=COUNTIF(J2:J41,"Yes")
=COUNTIF(J42:J81,"Yes")
=COUNTIF(J82:J121,"Yes")
When I try to autofill the formula into the rest of the cells in my column, it autofills in this way, instead of my intended pattern:
=COUNTIF(J3:J42,"Yes")
=COUNTIF(J4:J43,"Yes")
I have tried manually entering the formula into 4 cells, highlighting those cells, and autofilling downwards, however, it still does not recognize my pattern.
I need this formula in 3,000+ cells, so manual entry is not an option.
My Excel Version: Microsoft® Excel® for Microsoft 365 MSO (Version 2202 Build 16.0.14931.20648) 32-bit