Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default SUMPRODUCT error - help diagnosing

Hi there,

This works for me:

=SUMPRODUCT(('found-data'!$A$2:$A$10219'found-summary'!$A6)*('found-data'!$A$2:$A$10219<'found-summary'!$A6+1)*('found-data'!$B$2:$B$10219='found-summary'!C$4)*('found-data'!F2:F10219='new
interface'))

But when I added in the final clause below, it breaks:

=SUMPRODUCT(('found-data'!$A$2:$A$10219'found-summary'!$A6)*('found-data'!$A$2:$A$10219<'found-summary'!$A6+1)*('found-data'!$B$2:$B$10219='found-summary'!C$4)*('found-data'!F2:F10219='new
interface')*('found-data'!F2:F10219='new interface'))

I've been playing around, and reviewed Excel's 'common formula
mistakes' tips, but for the life of me can't figure out what the
problem is. Any ideas? I don't imagine I'd need to provide any sample
data to debug this, but if it would be helpful just let me know.

Thanks!
Jeff

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default SUMPRODUCT error - help diagnosing

Why do you have this twice?
*('found-data'!F2:F10219='new interface')*('found-data'!F2:F10219='new
interface'))

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default SUMPRODUCT error - help diagnosing

whoops, sorry - typo in my initial post. Thanks JeffMelton for the
catch!

THIS WORKS:
=SUMPRODUCT(('found-data'!$A$2:$A$10219'found-summary'!$A6)*('found-data'!$A$2:$A$10219<'found-summary'!$A6+1)*('found-data'!$B$2:$B$10219='found-summary'!C$4))


AND THIS DOESN'T:
=SUMPRODUCT(('found-data'!$A$2:$A$10219'found-summary'!$A6)*('found-data'!$A$2:$A$10219<'found-summary'!$A6+1)*('found-data'!$B$2:$B$10219='found-summary'!C$4)*('found-data'!F2:F10219='new
interface'))

Any ideas?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default SUMPRODUCT error - help diagnosing

found-data'!F2:F10219='new interface'

shouldn't 'new interface' be in quotes ie-- "new interface"

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default SUMPRODUCT error - help diagnosing

Ahhh, thanks! That was it!

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
#N/A error in sumproduct Paul C Excel Discussion (Misc queries) 0 December 9th 09 10:33 PM
Sumproduct DIV/0 Error D Whitney Excel Worksheet Functions 4 April 3rd 09 06:53 PM
SUMPRODUCT Error Kate Excel Discussion (Misc queries) 5 June 25th 08 02:37 PM
sumproduct error jhahes[_10_] Excel Programming 2 June 30th 05 06:21 PM
Sumproduct error nospaminlich Excel Worksheet Functions 0 March 1st 05 06:48 PM


All times are GMT +1. The time now is 09:46 AM.

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"