Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 97
Default SUMPRODUCT reference changes!!! Not what I want...

I am using SUMPRODUCT to sum a column on another worksheet. My formula looks
like this:

=SUMPRODUCT((Data!$E$4:$E$10000=$A$1)*(Data!$H$4:$ H$10000=$A4)*(Data!$D$4:$D$10000="Y")*(Data!$J$4:$ J$10000="Y"))

The # of rows on worksheet DATA changes perodically. When I delete the rows
in DATA and paste in new rows the "to" reference changes to the same as the
"from" reference:

=SUMPRODUCT((Data!$E$4:$E$4=$A$1)*(Data!$H$4:$H$4= $A4)*(Data!$D$4:$D$4="Y")*(Data!$J$4:$J$4="Y"))

What can I do to keep my "to" reference at 10000?

Thanks,
Joe M.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 97
Default SUMPRODUCT reference changes!!! Not what I want...

I have created name ranges for col E, H & J.

=SUMPRODUCT((ColE=$A$1)*(ColH=$A4)*(ColJ="Y"))

But the result of the formula is now #N/A

What did I do wrong?

Thanks,
Joe M.



"Don Guillett" wrote:

I would make defined name ranges
colE
=offset($e$3,1,0,counta($e:$e),1)
etc then just juse colE=

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Joe M." wrote in message
...
I am using SUMPRODUCT to sum a column on another worksheet. My formula
looks
like this:

=SUMPRODUCT((Data!$E$4:$E$10000=$A$1)*(Data!$H$4:$ H$10000=$A4)*(Data!$D$4:$D$10000="Y")*(Data!$J$4:$ J$10000="Y"))

The # of rows on worksheet DATA changes perodically. When I delete the
rows
in DATA and paste in new rows the "to" reference changes to the same as
the
"from" reference:

=SUMPRODUCT((Data!$E$4:$E$4=$A$1)*(Data!$H$4:$H$4= $A4)*(Data!$D$4:$D$4="Y")*(Data!$J$4:$J$4="Y"))

What can I do to keep my "to" reference at 10000?

Thanks,
Joe M.



.

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
How to use SumProduct to count reference or something else? klafert Excel Worksheet Functions 3 December 18th 09 10:07 AM
sumproduct - cell reference eugene Excel Worksheet Functions 4 February 28th 08 01:13 PM
Dynamic name reference in SUMPRODUCT MIKWIN Excel Worksheet Functions 5 December 27th 06 07:35 AM
sumproduct external reference#2 anand Excel Worksheet Functions 5 May 23rd 05 11:36 PM
Circular reference/SumProduct wal50 Excel Worksheet Functions 1 December 4th 04 06:23 AM


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