SUMPRODUCT is an inefficient formula so if you do use it do so with caution - ensure ranges are kept lean etc...
Prior to XL2007 you can not use SUMPRODUCT (or Arrays) with entire column references (T:T) -> #NUM! errors will result (as you describe)
Your defined Names are using whole column references.
For ex.
JCSPPeriod
='1Data Base'!$T:$T
You should look to make your Names a little more dynamic though I would opt for a non-volatile construct given they are to be used in conjunction with inefficient formulae
JCSPeriod
='1DataBase'!$T$10:INDEX('1Database'!$T:$T,MATCH(9.99E+307,'1Database'!$A:$A))
repeat this construct for all other names in use (note commencement from row 10)
Finally - you must correct your SUMPRODUCT itself
=SUMPRODUCT((JCSPPeriod=A4),(Segment=B$3),(TonnesSold))
should be either:
=SUMPRODUCT(--(JCSPPeriod=A4),--(Segment=B$3),TonnesSold)
or
=SUMPRODUCT((JCSPPeriod=A4)*(Segment=B$3)*TonnesSold)
I prefer option 1 in this instance.
Bookmarks