Sumproduct error caused by too many curly brackets?

R

Romileyrunner1

Hi, HAVING ERROR MESSAGES WITH THE FOLLOWING FORMULA.
iF i USE A SINGLE VARIABLE IN COLLUMN fp SUCH AS "w", THEN ALL IS FINE. iT
CAN`T SEEM TO RETRIEVE 4 DIFFERENT VALUES WHILST ALSO LOOKING ACROSS FOR THE
RANGE OF VALUES IN COLLUMN ge.
aNY IDEAS ????
tHANKS
rr1

=SUMPRODUCT(($FP$10:$FP$89={"W","SA","SA+","ST"})*($GE$10:$GE$89={"4c","4c+","4b","4b+","4a","4a+","5c","5c+","5b","5b+","5a","5a+","6c"}))/SUMPRODUCT(($FP$10:$FP$89={"W","SA","SA+","ST"})*($GE$10:$GE$89>0)))
 
J

Jacob Skaria

Try the below

=SUMPRODUCT(
($FP$10:$FP$89={"W","SA","SA+","ST"})
($GE$10:$GE$89={"4c","4c+","4b","4b+","4a","4a+","5c","5c+","5b","5b+","5a","5a+","6c"}))
/SUMPRODUCT(($FP$10:$FP$89={"W","SA","SA+","ST"})*($GE$10:$GE$89>0))

If this post helps click Yes
 
R

Romileyrunner1

tried this thanks, but still have the same errors.
any further suggestions?
rr1
thanks.
 
T

Teethless mama

=SUMPRODUCT(
($FP$10:$FP$89={"W","SA","SA+","ST"})*
(isnumber(match($GE$10:$GE$89,{"4c","4c+","4b","4b+","4a","4a+","5c","5c+","5b","5b+","5a","5a+","6c"},0))))
/SUMPRODUCT(($FP$10:$FP$89={"W","SA","SA+","ST"})*($GE$10:$GE$89>0))
 
A

Ashish Mathur

Hi,

Try this

=sumproduct((isnumber(match($FP$10:$FP$89,A2:A5,0))*(isnumber(match($GE$10:$GE$89,B2:B14,0))))/sumproduct(isnumber(match($FP$10:$FP$89,A2:A5,0))*($GE$10:$GE$89>0))

A2:A5 holds W, S, SA+ and ST. B2:B14 holds 4c, 4c+ etc.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com
 
R

Romileyrunner1

Great Work Ashish: works fine now: never used "(isnumber(match ..." before
Many Thanks
RR1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top