SanjayGMusafir
Well-known Member
- Joined
- Sep 7, 2018
- Messages
- 1,513
- Office Version
- 2024
- Platform
- Windows
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
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
I tried the above idea but it's not working gives #Name? error...
Then I tried
This obviously returns Text "SD23" instead of referencing
Can anyone help solving this issue.
Thanks is advance
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
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)
Can anyone help solving this issue.
Thanks is advance