Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Formula too long

Hi,

This is a repost...Thanks Don and Julie but solutions did
not work...

I'm trying to count with multiple criterias (I'm
only showing 3...but I have 35 criterias...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:$A$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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 63
Default Formula too long

Just a quick response. Must dash, no time to think or test, but perhaps try
naming the ranges, using a very short range name, such as A_1 refers to
$A$1:$A$5000. Then refer to the names in the formula. This may reduce the
number of characters required in the formula.

"Paul" wrote in message
...
Hi,

This is a repost...Thanks Don and Julie but solutions did
not work...

I'm trying to count with multiple criterias (I'm
only showing 3...but I have 35 criterias...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:$A$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



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 108
Default Formula too long

Thanks...I have 35 condition in a row of 200
values...tries searching the web in vain...

Paul
-----Original Message-----
What I sent will work to shorten the formula but maybe

not all of your 35.
You have 35 conditions out of ______how many. Did you see

my suggestion for
using < (not equal to)
=SUMPRODUCT(($A$1:$a$5000="Apples")*

($B$1:$B$5000<"Really Bad"))
or

--
Don Guillett
SalesAid Software

"Paul" wrote in message
...
Hi,

This is a repost...Thanks Don and Julie but solutions

did
not work...

I'm trying to count with multiple criterias (I'm
only showing 3...but I have 35 criterias...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:$A$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



.

  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default Formula too long

Hi Paul

i dont' seem to be seeing all of your posts ... however, the SUMPRODUCT
function only allows for 30 parameters ... so you'll need to find another
way to achieve your goal.

Unsure of why you think that a pivot table isn't going to give you dynamic
data.

If you'ld like to explain the data you have (i'm guessing its not apples &
oranges) and what you're trying to achieve (and answer Don's question) we
might have a better idea of a solution.

Cheers
JulieD


"Don Guillett" wrote in message
...
The question was
You have 35 conditions out of how many conditions, not rows!
I assume that of the 200 rows that there are many duplicates.

--
Don Guillett
SalesAid Software

"Paul" wrote in message
...
Thanks...I have 35 condition in a row of 200
values...tries searching the web in vain...

Paul
-----Original Message-----
What I sent will work to shorten the formula but maybe

not all of your 35.
You have 35 conditions out of ______how many. Did you see

my suggestion for
using < (not equal to)
=SUMPRODUCT(($A$1:$a$5000="Apples")*

($B$1:$B$5000<"Really Bad"))
or

--
Don Guillett
SalesAid Software

"Paul" wrote in message
...
Hi,

This is a repost...Thanks Don and Julie but solutions

did
not work...

I'm trying to count with multiple criterias (I'm
only showing 3...but I have 35 criterias...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:$A$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



.





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
http://CannotDeleteFile.net - Cannot Delete File? Try Long Path ToolFilename is too long? Computer Complaining Your Filename Is Too Long? TheLong Path Tool Can Help While most people can go about their businessblissfully unaware of the Windo Max Loger Excel Discussion (Misc queries) 0 June 14th 11 04:30 PM
Long Long Long Nested If Function sed Excel Discussion (Misc queries) 4 December 9th 09 06:44 PM
Clearing cells takes long, long time unclemuffin Excel Discussion (Misc queries) 9 August 17th 07 02:22 AM
Long formula Sandy Excel Worksheet Functions 17 July 12th 07 03:30 PM
formula too long cencoit Excel Worksheet Functions 3 September 22nd 05 02:26 AM


All times are GMT +1. The time now is 07:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"