Hi,
Trying to add all of occurrences of "Yes" in a particular range for all worksheets.
I was hoping to use the clever trick I use for summing across worksheets:
I tried using COUNTIF or AGGREGATE (using 2 for COUNT) but I get #VALUE ! error.
I am aware of the approach using INDIRECT and a SHEETLIST and reference the worksheets. However, the workbook is quite dynamic as the Rockwell Software program creates a new daily worksheet each day and populates that worksheet with various data.
Before I give up and just change the formula to display a 1 instead of Yes, I was hoping to keep the text and perhaps learn why the First:Last trick may not work with text or learn a new approach.
Excel 2010, Windows 10
Trying to add all of occurrences of "Yes" in a particular range for all worksheets.
I was hoping to use the clever trick I use for summing across worksheets:
Code:
=SUM(First:Last!$E$36:$I$36)
I tried using COUNTIF or AGGREGATE (using 2 for COUNT) but I get #VALUE ! error.
Code:
=COUNT(First:Last!$C$48) or
=COUNTIF(First:Last!C48,"?*")
I am aware of the approach using INDIRECT and a SHEETLIST and reference the worksheets. However, the workbook is quite dynamic as the Rockwell Software program creates a new daily worksheet each day and populates that worksheet with various data.
Before I give up and just change the formula to display a 1 instead of Yes, I was hoping to keep the text and perhaps learn why the First:Last trick may not work with text or learn a new approach.
Excel 2010, Windows 10