Hello!
I need help figuring out why my sumproduct formula below returns a #VALUE error. Perhaps the syntax for my particular case is not correct as it took much experimenting to get a non-error yielding, correct result for similar formulas with 2 criteria (which worked with the syntax below) and 3 criteria (which returned correct negative values, easily resolved by multiplying -1. Or maybe it is a problem with my data types which include text, dates, and currency. I have tried switching the text cells to general but to no avail. Again, the 2 and 3 criteria formulas worked given the data types.
=SUMPRODUCT(-('Credit Card'!$B$3:$B$1700=Sheet1!A13),-('Credit Card'!$A$3:$A$1700=$B$2),-('Credit Card'!$E$3:$E$1700<=$B$9),-('Credit Card'!$E$3:$E$1700>=$B$8),'Credit Card'!$C$2:$C$1700)+SUMPRODUCT(-('Employee Reimbursment'!$B$3:$B$1701=Sheet1!A13),-('Employee Reimbursment'!$A$3:$A$1701=$B$2),-('Employee Reimbursment'!$F$3:$F$1700<=$B$9),-('Employee Reimbursment'!$F$3:$F$1700>=$B$8),'Employee Reimbursment'!$D$3:$D$1701)+SUMPRODUCT(-('Invc sheet'!$B$1:$B$1700=Sheet1!A13),-('Invc sheet'!$A$1:$A$1700=$B$2),-('Invc sheet'!$G$3:$G$1700<=$B$9),-('Invc sheet'!$G$3:$G$1700>=$B$8),'Invc sheet'!$D$1:$D$1700)
Please let me know if more information is needed.
I appreciate any help as I have been struggling with this for hours!
Bookmarks