Can we make reference to Named Ranges Dynamic?

SanjayGMusafir

Well-known Member
Joined
Sep 7, 2018
Messages
1,503
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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,223,887
Messages
6,175,199
Members
452,617
Latest member
Narendra Babu D

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