reference a range using label

dhx10000

Board Regular
Joined
Jul 11, 2005
Messages
144
Hi,

Yesterday, I learned from this board how to reference a column on a separate sheet through a label, using Insert >> Name >> Define. The newest problem is that there appear to be some formulas that require me to actually designate a more specific range rather than just designating a column. For example, I have this formula:

=SUMPRODUCT((CAK1QR0L!R5:R5003=TRUE)*(CAK1QR0L!J5:J5003= "Closed" ))

This works the way it is written but as you can see I had to go back to using absolute references to columns which i was trying to avoid. I would like to have done this, but I received an error 'The formula you typed contains an error' :

=SUMPRODUCT((BarcelonaInternalActions-logView.xls'!Current=TRUE)*(BarcelonaInternalActions-logView.xls'!Status= "Closed" ))

Is there any way to make this work?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
I don't think you can use whole columns with sumproduct (i.e. A:A or Defining the whole column)

Try re-defining names for the specific ranges R5:R5003 and J5:J5003.
 
Upvote 0

Forum statistics

Threads
1,203,491
Messages
6,055,727
Members
444,814
Latest member
AutomateDifficulty

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