#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PAL PAL is offline
external usenet poster
 
Posts: 200
Default Sumproduct

I have a massive spreadsheet, one of the worksheets has several thousand
rows, many columns.

The sheet I am working on has about 200 rows.

One of my columns is this:
{=IF(ISERROR(SUMPRODUCT(--('Raw Deviation'!A$2:$A$6016=$A2),--('Raw
Deviation'!$D$2:$D$6016="Deviation"),--('Raw
Deviation'!$B$2:$B$6016=H$1))/$E2),"",(SUMPRODUCT(--('Raw
Deviation'!A$2:$A$6016=$A2),--('Raw
Deviation'!$D$2:$D$6016="Deviation"),--('Raw
Deviation'!$B$2:$B$6016=H$1))/$E2))}

Works great when I reference H$1 or a "text value". When I move over a
column:

{=IF(ISERROR(SUMPRODUCT(--('Raw Deviation'!$A$2:B$6016=$A2),--('Raw
Deviation'!$D$2:$D$6016="Deviation"),--('Raw
Deviation'!$B$2:$B$6016=I$1))/$E2),"",(SUMPRODUCT(--('Raw
Deviation'!$A$2:B$6016=$A2),--('Raw
Deviation'!$D$2:$D$6016="Deviation"),--('Raw
Deviation'!$B$2:$B$6016=I$1))/$E2))}

So, the only thing changed is =I$1. If I replace I$1 with "text" it works.
I even tried retyping I1. I would rather reference since the text could
change.

Ideas. Is the spreadsheet simply too big?


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Sumproduct

From the sounds of it ..

Try replacing this term in your expression:
--('Raw Deviation'!$B$2:$B$6016=I$1)

with this:
--(TRIM('Raw Deviation'!$B$2:$B$6016)=TRIM(I$1))


P/s: Don't think your formula needs to be array-entered
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,500 Files:365 Subscribers:65
xdemechanik
---
"PAL" wrote:
I have a massive spreadsheet, one of the worksheets has several thousand
rows, many columns.

The sheet I am working on has about 200 rows.

One of my columns is this:
{=IF(ISERROR(SUMPRODUCT(--('Raw Deviation'!A$2:$A$6016=$A2),--('Raw
Deviation'!$D$2:$D$6016="Deviation"),--('Raw
Deviation'!$B$2:$B$6016=H$1))/$E2),"",(SUMPRODUCT(--('Raw
Deviation'!A$2:$A$6016=$A2),--('Raw
Deviation'!$D$2:$D$6016="Deviation"),--('Raw
Deviation'!$B$2:$B$6016=H$1))/$E2))}

Works great when I reference H$1 or a "text value". When I move over a
column:

{=IF(ISERROR(SUMPRODUCT(--('Raw Deviation'!$A$2:B$6016=$A2),--('Raw
Deviation'!$D$2:$D$6016="Deviation"),--('Raw
Deviation'!$B$2:$B$6016=I$1))/$E2),"",(SUMPRODUCT(--('Raw
Deviation'!$A$2:B$6016=$A2),--('Raw
Deviation'!$D$2:$D$6016="Deviation"),--('Raw
Deviation'!$B$2:$B$6016=I$1))/$E2))}

So, the only thing changed is =I$1. If I replace I$1 with "text" it works.
I even tried retyping I1. I would rather reference since the text could
change.

Ideas. Is the spreadsheet simply too big?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PAL PAL is offline
external usenet poster
 
Posts: 200
Default Sumproduct

Still no good and have checked for extra spaces before and after the text in
I$1.

"Max" wrote:

From the sounds of it ..

Try replacing this term in your expression:
-- ('Raw Deviation'!$B$2:$B$6016=I$1)

with this:
-- (TRIM('Raw Deviation'!$B$2:$B$6016)=TRIM(I$1) )


P/s: Don't think your formula needs to be array-entered
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,500 Files:365 Subscribers:65
xdemechanik
---
"PAL" wrote:
I have a massive spreadsheet, one of the worksheets has several thousand
rows, many columns.

The sheet I am working on has about 200 rows.

One of my columns is this:
{=IF(ISERROR(SUMPRODUCT(--('Raw Deviation'!A$2:$A$6016=$A2),--('Raw
Deviation'!$D$2:$D$6016="Deviation"),--('Raw
Deviation'!$B$2:$B$6016=H$1))/$E2),"",(SUMPRODUCT(--('Raw
Deviation'!A$2:$A$6016=$A2),--('Raw
Deviation'!$D$2:$D$6016="Deviation"),--('Raw
Deviation'!$B$2:$B$6016=H$1))/$E2))}

Works great when I reference H$1 or a "text value". When I move over a
column:

{=IF(ISERROR(SUMPRODUCT(--('Raw Deviation'!$A$2:B$6016=$A2),--('Raw
Deviation'!$D$2:$D$6016="Deviation"),--('Raw
Deviation'!$B$2:$B$6016=I$1))/$E2),"",(SUMPRODUCT(--('Raw
Deviation'!$A$2:B$6016=$A2),--('Raw
Deviation'!$D$2:$D$6016="Deviation"),--('Raw
Deviation'!$B$2:$B$6016=I$1))/$E2))}

So, the only thing changed is =I$1. If I replace I$1 with "text" it works.
I even tried retyping I1. I would rather reference since the text could
change.

Ideas. Is the spreadsheet simply too big?


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Sumproduct

Well, thought that was a good shot. Maybe other responders would have other
ideas for you.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,500 Files:365 Subscribers:65
xdemechanik
---
"PAL" wrote in message
...
Still no good and have checked for extra spaces before and after the text
in
I$1.



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
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
Sumproduct Help MESTRELLA29 Excel Discussion (Misc queries) 2 December 27th 07 05:36 PM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
Sumproduct WBTKbeezy Excel Worksheet Functions 5 June 6th 06 07:59 PM
Sumproduct Denise Excel Discussion (Misc queries) 4 October 20th 05 02:09 AM


All times are GMT +1. The time now is 12:16 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"