hmm.... 25000 Sumproducts...

though conceded OP did state it was a one-off and didn't mind if it took a while...