I asked in a previous post (http://www.mrexcel.com/forum/showthread.php?t=569058) how to use SUMPRODUCT for criteria across rows and columns, and was told to do something like this instead:
=SUMIF('Sales Plan'!$D$2:$D$1876,'Sheet1'$D7,INDEX('Sales Plan'!$G$2:$R$1876,0,MATCH(AH$1,'Sales Plan'!$G$1:$R$1,0)))
which will sum values in the correct column for which 'Sales Plan!, Column D = Sheet1!D7
The problem is, I need more criteria.
I need 'Sales Plan'!$A$2:$A$1876 to be equal to something, and I need 'Sales Plan'!$A$2:$A$1876 to be equal to something. Both will have a static reference, let's say 'Sheet1'$A$1 and $A$2, respectively.
Can someone please help me out?
Thanks in advance!
=SUMIF('Sales Plan'!$D$2:$D$1876,'Sheet1'$D7,INDEX('Sales Plan'!$G$2:$R$1876,0,MATCH(AH$1,'Sales Plan'!$G$1:$R$1,0)))
which will sum values in the correct column for which 'Sales Plan!, Column D = Sheet1!D7
The problem is, I need more criteria.
I need 'Sales Plan'!$A$2:$A$1876 to be equal to something, and I need 'Sales Plan'!$A$2:$A$1876 to be equal to something. Both will have a static reference, let's say 'Sheet1'$A$1 and $A$2, respectively.
Can someone please help me out?
Thanks in advance!