Don't know if you ever got this one sorted but I think you need
=IF(G85="na",0,IF(G85<1,COUNT(G$78:G$91)-(RANK(G85,G$78:G$91)+COUNTIF(G$78:G85,G85))+2,""))
Possibly this is caused by the figures displaying at say 2 dp but the real values remain as calculated - this can make total 'different' from the sum of the displayed components.
=if(isna(VLOOKUP(A2,STRUCTURESP5.xlsx!$1:$1048576,3,FALSE)),"",VLOOKUP(A2,STRUCTURESP5.xlsx!$1:$1048576,3,FALSE))
Will trap errors if match not found but you don't seem to have a column reference in the formula e.g. $1:$1048576
You have to have EXCEL 2007 for SUMIFS - it allows multiple criteria and so does away with the need to use SUMPRODUCT - the XLDYNAMIC link is only for sumproduct
I don''t have 2007 so can't advise further
Couldn't agree more, Brian - SUMPRODUCT is one of the most useful and versatile functions I've come across.
I suppose that as 2007 has SUMIFS, that is the way ahead - personally, I will be staying with 2003