colinheslop1984
Board Regular
- Joined
- Oct 14, 2016
- Messages
- 129
- Office Version
- 2016
Hello
Can someone please help re-write the formula. Not sure what I'm doing wrong, I get #REF error.
=SUMPRODUCT(INDIRECT("'"&C$1&"'!$c$5:$au$54")*(INDIRECT("'"&C$1&"'!$a$5:$a$47"=E2)*(INDIRECT("'"&C$1&"'!$c$1:$au$1"=E2)*(INDIRECT("'"&C$1&"'!$c$3:$au$3"="total"))))
C$1 = Worksheet reference
$c$5:$au$54 = Data Range
$a$5:$a$47 = Criteria range 1 on vertical axis
G2 = Criteria 1
$c$1:$au$1 = Criteria range 2 on horizontal axis
E2 = Criteria 2
$c$3:$au$3 = Criteria range 3 on horizontal axis
"total" = Criteria 3 on horizontal axis
Let me know if you need more info
I am using Excel 2016
Can someone please help re-write the formula. Not sure what I'm doing wrong, I get #REF error.
=SUMPRODUCT(INDIRECT("'"&C$1&"'!$c$5:$au$54")*(INDIRECT("'"&C$1&"'!$a$5:$a$47"=E2)*(INDIRECT("'"&C$1&"'!$c$1:$au$1"=E2)*(INDIRECT("'"&C$1&"'!$c$3:$au$3"="total"))))
C$1 = Worksheet reference
$c$5:$au$54 = Data Range
$a$5:$a$47 = Criteria range 1 on vertical axis
G2 = Criteria 1
$c$1:$au$1 = Criteria range 2 on horizontal axis
E2 = Criteria 2
$c$3:$au$3 = Criteria range 3 on horizontal axis
"total" = Criteria 3 on horizontal axis
Let me know if you need more info
I am using Excel 2016