Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 394
Default SUMPRODUCT Error

Good afternoon,

I have the formula ...

=SUMPRODUCT(COUNTIF(E10:J10,N10:S10))

.... which I have copied down in column "T" some 2,500 cells which
should always return the value 6.
Unfortunately the formula only works on about 80% of the formulas
although I know for a fact that the two sets of numbers match EXACTLY
and are values as opposed to text etc.
The only difference with the two sets of numbers to match is the first
six are not sorted numerically where as the second set of numbers are.

Thanks in advance,
Paul
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 259
Default SUMPRODUCT Error

Hi Paul

Try it this way:

=SUMPRODUCT(--($E$10:$J$100),--($N$10:$S$10))

It equals 6

Regardless of which group be it ("E:J") or ("N:S") if any of these cells has
a (0) zero, the equation will then display whatever the range has that meets
the criteria.

HTH
Mick.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 259
Default SUMPRODUCT Error

I forgot to include a Text Equivalent....D'oh....

=SUMPRODUCT(--($E$10:$J$10<""),--($N$10:$S$10))

Again, if all the cells meet the criteria it will count up to 6, conversely,
if any cells are blank within the range, the total will change to
reflect....

HTH
Mick.


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
Sumproduct DIV/0 Error D Whitney Excel Worksheet Functions 4 April 3rd 09 06:53 PM
Sumproduct error formcreator Excel Programming 2 March 21st 08 11:49 PM
SUMPRODUCT #VALUE! Error juliejg1 Excel Worksheet Functions 2 December 13th 07 04:25 PM
SUMPRODUCT Error Madiya Excel Programming 2 August 1st 07 05:54 AM
SUMPRODUCT #N/A error R Ormerod Excel Discussion (Misc queries) 7 April 14th 07 02:56 AM


All times are GMT +1. The time now is 04:59 AM.

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

About Us

"It's about Microsoft Excel"