Dynamic named range help please

braindiesel

Well-known Member
Joined
Mar 16, 2009
Messages
560
Office Version
  1. 365
  2. 2019
  3. 2010
Platform
  1. Windows
I have a named range called "findIt" that i use in a validation list referencing the following formula

=OFFSET(myLists!$B$1,MATCH(myLists!C12,myLists!$A:$A,0)-2,0,COUNTIF(myLists!$A:$A,myLists!C12)-1,1)

which works perfectly at reference the cell to the left (C12) when I use this for a dropdown list in D12 on the myLists sheet

BUT

I don't want it limited to the myLists Sheet
I can create one of these for each relevant tab, but I would rather just have one work if possible... my ultimate goal is this...
=OFFSET(myLists!$B$1,MATCH(C12,myLists!$A:$A,0)-2,0,COUNTIF(myLists!$A:$A,C12)-1,1)
instead of this...
=OFFSET(myLists!$B$1,MATCH(myLists!C12,myLists!$A:$A,0)-2,0,COUNTIF(myLists!$A:$A,myLists!C12)-1,1)

Anyone know a trick to be a truly relative cell reference, regardless of which sheet?
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

braindiesel

Well-known Member
Joined
Mar 16, 2009
Messages
560
Office Version
  1. 365
  2. 2019
  3. 2010
Platform
  1. Windows
I just changed my scope from document to sheets, to proceed, so that will solve my problem, but if someone has a shiny solution I am all ears.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,021
Messages
5,856,849
Members
431,837
Latest member
megantang

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
Top