shemayisroel
Well-known Member
- Joined
- Sep 11, 2008
- Messages
- 1,867
Hi,
Attempting to use SUMPRODUCT with INDIRECT to link a cell reference to a sheet name.
Basic structure is below but throws back a #REF! error. Any suggestions on how to clean it up and yield the desired result?
=SUMPRODUCT(--(INDIRECT(cellref&"!Range1")=Criteria1),--(INDIRECT(cellref&"!Range2")=Criteria2),INDIRECT(cellref&"!SumRange"))
Thanks
Attempting to use SUMPRODUCT with INDIRECT to link a cell reference to a sheet name.
Basic structure is below but throws back a #REF! error. Any suggestions on how to clean it up and yield the desired result?
=SUMPRODUCT(--(INDIRECT(cellref&"!Range1")=Criteria1),--(INDIRECT(cellref&"!Range2")=Criteria2),INDIRECT(cellref&"!SumRange"))
Thanks