What I'm getting at is that where the data sets being processed are vast (they aren't here) it's often advisable to create a key which contains all pertinent info. such that you can conduct multi conditional tests without need for Array/SUMPRODUCT (more so preXL2007 of course)
For ex. here we could create a key along the lines of:
Then
It follows that given COUNTIF & SUMIF can work with wildcards one key can facilitate a whole variety of different tests where some of the concatenated fields are irrelevant etc...
(of course pending the tests creating an appropriate key may require some thought)
Mike Girvin has posted an excellent youtube clip of this approach if interested: http://www.youtube.com/watch?v=ry3vSqN1TQ0
This approach is something I use quite regularly on the boards on those threads related to poor performance (as they generally result from overuse of SUMPRODUCT / Arrays)
Bookmarks