![]() |
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. |
SUMPRODUCT reference changes!!! Not what I want...
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. |
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. . |
All times are GMT +1. The time now is 05:39 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com