Drag down matrix function

Friede

New Member
Joined
Sep 25, 2011
Messages
6
Dear all,
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
I have a matrix function and I need to use the same function all the time. Just one cell in the formula should change. Excel does not recognize that only this one cell is changing when I just drag it down, but also 1:190 changes to 2:191 and so on. I do not know how to use the $-signs in a matrix function for this purpose.
Here is the function I am using:
=SUMPRODUCT(--(COUNTIF(INDIRECT("Respondent"&ROW(1:190)& "!$B$8");1));--(COUNTIF(INDIRECT("Respondent"&ROW(1:190)& "!B11");1)))
<o:p> </o:p>
The bold cell is the only cell which should change all the time from B11 to C11 and so on. The rest should be fixed that I can just drag the formula down.
<o:p> </o:p>
Thanks in advance for your answers.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Try...
Rich (BB code):
=SUMPRODUCT(
--(COUNTIF(INDIRECT("Respondent"&ROW($1:$190)& "!B8");1));
--(COUNTIF(INDIRECT("Respondent"&ROW($1:$190)& "!"&
     CELL("address";B11)));1)))
 
Upvote 0
Thanks. Still I cannot drag it down if I have put three or more formulas below each other. The one cell always stays B11 (bolt) and won't go to B12 and so on.

=SUMMENPRODUKT(--(ZÄHLENWENN(INDIREKT("Respondent"&ZEILE($1:$190)& "!$B$8");1));--(ZÄHLENWENN(INDIREKT("Respondent"&ZEILE($1:$190)& "!B11");1)))

Does somebody knows a solution?
Thx in advance
 
Upvote 0
Thanks. Still I cannot drag it down if I have put three or more formulas below each other. The one cell always stays B11 (bolt) and won't go to B12 and so on.

=SUMMENPRODUKT(--(ZÄHLENWENN(INDIREKT("Respondent"&ZEILE($1:$190)& "!$B$8");1));--(ZÄHLENWENN(INDIREKT("Respondent"&ZEILE($1:$190)& "!B11");1)))

Does somebody knows a solution?
Thx in advance

Did you try what I proposed? You seem to have missed the CELL bit.
 
Upvote 0

Forum statistics

Threads
1,224,548
Messages
6,179,445
Members
452,915
Latest member
hannnahheileen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top