Is it possible to have the problem fixed on the SQL side? SUMPRODUCT formulas and other array formulas really do not like errors in the data.

You could always use the ISNA formula format I displayed above to create formulas to fix the data, and then run your SUMPRODUCT off of this instead.

For example, column F is one of your columns of data. If this is one of the columns with some N/A data, insert a column and use:

**=IF(ISNA(F2),0,F2)**

If the ISNA function does not recognize the N/A data, then Excel probably sees the N/A as text, and you should be able to simply use the Replace functionality (Edit | Replace) to replace N/A with some other value, like 0 or 1, depending on how you need your formulas to work.