Hi Mike,
If you format your Sheet 2 cells as General, instead of Text, you could use:
=SUMPRODUCT(('Sheet 1'!$C$7:$C$15=$A$3)*('Sheet 1'!$B$7:$B$15=$B$3),'Sheet 1'!J$7:J$15)
This will return 0 if there are no matching 1s in column J, or a number greater than 0 otherwise (unless, perhaps, you have -ve numbers in column J).
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|