Also ... just as a heads up...
Avoid using SUMPRODUCT with entire column references... eg:
=SUMPRODUCT((Products<>"")/COUNTIF(Products,Products&""))
Where Products is defined as:
meaning:
returns 1084576
... we're processing 1m+ rows in the SUMPRODUCT
This is not a good idea.... it's always a good idea to keep the ranges as lean as possible.
(pre XL2007 the above would return #NUM! error)
We can revise the Products Named Range so that it refers only to those rows necessary by using:
RefersTo:
=formulas!$A$1:INDEX(formulas!$A:$A,MATCH(REPT("Z",255),formulas!$A:$A))
now
returns 19
so the SUMPRODUCT will now be far quicker to calculate...
(as per our earlier discussions you may need to adjust the above formula per your own regional settings - assuming they're not UK/US)
Bookmarks