I have a spreadsheet (see image below) that has multiple tabs and where 1 tab (the Summary tab) counts specific text found on the the other tabs. The summary tab has references to the other tabs (column C) and specific columns to be searched (column B). Any/all of those referenced columns could be hidden and, if they are hidden, I do not what them to be included in the counts on the Summary tab in cells E2:I4. The text that I am searching for on the other tabs is located on the Summary tab row 1, columns E:H. The formulas that I need assistance with are in cells E2:I4. I appreciate any help you can provide and thanks in advance!!
COUNTIF.jpg
The formula in cell E2 is: =SUMPRODUCT(COUNTIF(INDIRECT($C2),E$1))
Bookmarks