Ok, see what you can do with the attached.
I've made a few changes required to accommodate a pure SUMPRODUCT without a nested SUMIF. The error you encountered probably comes from the fact that SUMIF does not work with closed workbooks. See if this is better:
I got rid of the concatenation of product line codes and store codes in the Net_Revenue Sheet and the Income Statement sheet. You'll have to do the same stuff for the other two sheets and the Cogs and Taxes sections on the Income Statement. I've highlighted the cells I changed in pink. Note the single cell naming of the product lines at the top of the sheet. You could put these cells somewhere else, maybe on the Codes_Table Sheet and refer to them there, if they screw up your spreadsheet design.
The formula in F5 is
=SUMPRODUCT(--(ISNUMBER(MATCH(Net_Revenue!$B$3:$B$30,$C$1:$F$1,0))),--(Net_Revenue!$A$3:$A$30=$B5),(Net_Revenue!D$3:D$30))
The way the formula is constructed, it can be copied down and across without the need for changes to the ranges. Note the careful placement of absolute and relative cell addresses, especially the last argument, because that will increment the column to the required month.
The formulas for the other sections should be along the same lines, just different sheet names (and removing the concatenation!!!)
Let me know how you get on with this
cheers
Bookmarks