
Signature
HTH
RP
(remove nothere from the email address if mailing direct)
Hi and Thanks to both of you!
Sumproduct worked. I was looking at that but the arrays were seperated
by an * in the examples I found. I noticed you used "--".
One tiny problem remains. As I drag the formula down the page, it
correctly selects the next book# but it also increment the range
searched on the first sheet. Any way to make it choose the same range
without manually editing?
Example:
First Formula:
=SUMPRODUCT(--(Sheet1!$C2:$C200=$A2),--(Sheet1!$C2:$C200>=2),--(Sheet1!$C2:$C200<3))
Second Formula:
=SUMPRODUCT(--(Sheet1!$C3:$C201=$A3),--(Sheet1!$C3:$C201>=2),--(Sheet1!$C3:$C201<3))
I want it to choose $A3 but I want it to search the same range
(C2:C200), not increment. Any way to do this?

Signature
swjtx
Dave Peterson - 17 Dec 2005 17:14 GMT
Use $c$2:$c$200
The $ signs mean not to adjust the range when you copy the formula.
> Hi and Thanks to both of you!
>
[quoted text clipped - 22 lines]
> swjtx's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=29716
> View this thread: http://www.excelforum.com/showthread.php?threadid=494311

Signature
Dave Peterson
Bob Phillips - 17 Dec 2005 17:39 GMT
Use
=SUMPRODUCT(--(Sheet1!$C$2:$C$200=$A2),--(Sheet1!$C$2:$C$200>=2),--(Sheet1!$
C$2:$C$200<3))

Signature
HTH
RP
(remove nothere from the email address if mailing direct)
> Hi and Thanks to both of you!
>
[quoted text clipped - 8 lines]
> Example:
> First Formula:
=SUMPRODUCT(--(Sheet1!$C2:$C200=$A2),--(Sheet1!$C2:$C200>=2),--(Sheet1!$C2:$
C200<3))
> Second Formula:
=SUMPRODUCT(--(Sheet1!$C3:$C201=$A3),--(Sheet1!$C3:$C201>=2),--(Sheet1!$C3:$
C201<3))
> I want it to choose $A3 but I want it to search the same range
> (C2:C200), not increment. Any way to do this?