Can we make reference to Named Ranges Dynamic?

SanjayGMusafir

Well-known Member
Joined
Sep 7, 2018
Messages
1,450
Office Version
  1. 2021
Platform
  1. MacOS
Hi Experts,

Can we make reference to Named Ranges Dynamic?

for eg.
I have Named ranges
SD23
SD22

where number part represents last 2 Digits of an year.

Now I want to use reference to these named ranges to pull their values.

Using
Excel Formula:
=SD23
is working absolutely fine.

But thought crossed my mind if I can reference them dynamically, it will make my life much easier.

To Explain

I have Year in cell A1
And if I can create reference in B1 like
Excel Formula:
=SD&Right(A1,2)

I tried the above idea but it's not working gives #Name? error...

Then I tried
Excel Formula:
="SD"&Right(A1,2)
This obviously returns Text "SD23" instead of referencing

Can anyone help solving this issue.

Thanks is advance 🙏
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Forum statistics

Threads
1,215,069
Messages
6,122,952
Members
449,095
Latest member
nmaske

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