Hi, I've searched and although some responses here are similar I haven't been able to work a solution.
I have a huge named table with many columns populated with " "s or "1"s. I need to count the number of times, for two given columns, that entries on the same row are both TRUE (or equivalent, or =1 if those would be easier). Right now I have this, which works
=SUMPRODUCT(--(G$2:G$298=$AT$2:$AT$298),--(G$2:G$298<>""),--($AT$2:$AT$298<>""))
however I need this to ignore hidden rows. I believe I need to add SUBOTOTAL(109, .....) somehow, maybe like this:
=SUMPRODUCT(SUBOTOTAL(109,--(G$2:G$298=$AT$2:$AT$298)),--(G$2:G$298<>""),--($AT$2:$AT$298<>""))
But I am not able to figure it out. Do I need to use OFFSET somehow?
Thanks in advance
I have a huge named table with many columns populated with " "s or "1"s. I need to count the number of times, for two given columns, that entries on the same row are both TRUE (or equivalent, or =1 if those would be easier). Right now I have this, which works
=SUMPRODUCT(--(G$2:G$298=$AT$2:$AT$298),--(G$2:G$298<>""),--($AT$2:$AT$298<>""))
however I need this to ignore hidden rows. I believe I need to add SUBOTOTAL(109, .....) somehow, maybe like this:
=SUMPRODUCT(SUBOTOTAL(109,--(G$2:G$298=$AT$2:$AT$298)),--(G$2:G$298<>""),--($AT$2:$AT$298<>""))
But I am not able to figure it out. Do I need to use OFFSET somehow?
Thanks in advance