Hi everyone,
I have a macro which cuts rows of cells in one worksheet and pastes them into another. In worksheet 1, beside these rows, there are cells which count results. When I activiate the macro it cuts the data rows and moves them to another worksheet, but the cells which count the results automatically adjust to continue to count the cells in the new worksheet
Is there any way I can have these counting cells only count the cells in the worksheet they are originally in? Here's my formula:
=COUNTIF('Worksheet 1'!J3:AB3,"Y")+COUNTIF('Worksheet 1'!J3:AB3,"N")
So when the cells are moved via macro, the formula seems to automatically change to:
=COUNTIF('Worksheet 2'!J3:AB3,"Y")+COUNTIF('Worksheet 2'!J3:AB3,"N")
Interestingly enough, i have other counter cells which count complete columns, i.e. J:J, and they don't adjust as the data changes. Any ideas?
Thanks guys!
Bookmarks