Formula too long

P

Paul

Hi,

Newbie. I'm trying to count with mutliple criterias (I'm
only showing 3...but I have 35 critearias...Below is my
formula...when I put all of my criterias...i have
a "Formula too long" message...Please help...I dont want
Pivot table because I want dynamic data...Thanks.

Paul

=SUMPRODUCT(($A$1:$V$5000="Apples")*(($B$1:$B$5000="Good")+
($B$1:$B$5000="Very Good")+ ($B$1:$B$5000="Bad")))

Should give me 3 as a results



A B

Apples Good
Apples Very good
Oranges Good
Oranges Very good
Oranges Very good
Apples Super
Apples Bad
 
D

Don Guillett

try
=SUMPRODUCT(($A$1:$V$5000="Apples")*($B$1:$B$5000=({"Good","Very
Good","Bad"}))
but it might be better to use <> "Really Bad" instead
 
J

JulieD

Hi

i'm concerned about the
$A$1:$V$5000="Apples"
bit ... is this just a typo?

Cheers
JulieD
 

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