SUMPRODUCT - how to increment row refs by 1 when dragging across a sheet

Sagan234

New Member
Joined
Jun 29, 2015
Messages
1
I am trying to include an additional function in this formula:
=SUMPRODUCT((Dom_Counts!$B$2:$CY$2<>"")*(Dom_Counts!$B$2:$CY$2=Dom_Counts!B3:CY3))
in order to increment the row numbers by 1 each time I drag it over to the next column without changing the column references.

This formula is referring to another sheet that has an individual's (rows) field of work (columns) marked with a 1 (if they do not work in a field it is left blank) and counts how many fields of work two individuals have in common.

and I need to streamline the process of moving the formula across my sheet (900+ rows/columns) that looks like the one below. I can sacrifice the diagonal formatting and do that part manually later - if that helps.
ex:
Cell A1CarlPeterJohnJoyceRyan
Carl
Peter1
John01
Joyce000
Ryan2100

<tbody>
</tbody>

I have tried OFFSET a number of different ways, but just can't seem to make it work.

Thank you!
 
Last edited:

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,216,269
Messages
6,129,813
Members
449,538
Latest member
cookie2956

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