OleMiss2010
New Member
- Joined
- Sep 30, 2011
- Messages
- 5
I'm trying to count the instances across a set of sheets in a defined name of one cell being > another cell. The first two criteria in my formula below work perfectly and are there to identify the correct rows. When I add the third criteria, however, I only get 0's in my solution, which should not be the case. Any ideas?
=SUMPRODUCT(COUNTIFS(INDIRECT("'"&SheetList&"'!B:B"),"Current:",INDIRECT("'"&SheetList&"'!D:D"),"Proposed:",INDIRECT("'"&SheetList&"'!C:C"),">"&INDIRECT("'"&SheetList&"'!F:F")))
=SUMPRODUCT(COUNTIFS(INDIRECT("'"&SheetList&"'!B:B"),"Current:",INDIRECT("'"&SheetList&"'!D:D"),"Proposed:",INDIRECT("'"&SheetList&"'!C:C"),">"&INDIRECT("'"&SheetList&"'!F:F")))