Edit I spoke too soon. This formula counts duplicate blanks. The one post #16 does not. My apologies.
I uploaded MarvinP's workbook with this formula array entered in 'Dup Answer' A1 filled down and across.
@ Marvin Though your workbook has only numbers this formula works with numbers/text/mixed data/ignores blanks.
=SUM(IF(FREQUENCY(MATCH(CELL("contents",IF(1,+INDIRECT("'"&$G$1:$G$4&"'!"&CHAR(COLUMNS($A$1:A$1)+64)&ROWS(A$1:A1))))&"",CELL("contents",IF(1,+INDIRECT("'"&$G$1:$G$4&"'!"&CHAR(COLUMNS($A$1:A$1)+64)&ROWS(A$1:A1))))&"",0),ROW(INDIRECT("1:"&COUNTA($G$1:$G$4))))>1,1))
Bookmarks