Dynamic named range ?

fredrerik84

Active Member
Joined
Feb 26, 2017
Messages
383
Hi guys I'm struggling to make my named ranges dynamic :/

I have two lists in name manager:

currency =Conversion!$B$63:$B$70
and:
mycurr =Conversion!$B$63:$D$70

However I need those list to be dynamic without putting them in a table.
I tried this for currency

=Conversion!$B$63:INDEX(Conversion!$B:$B,COUNTA(Conversion!$B:$B))
but for some reason it will only return the first 3 results .

Any help would be greatly appreciated :)
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Questions
Are there another data below the lists that should not be included in the named ranges?
What is the data type in column B, numbers, text or mixed?

M.
 
Upvote 0
Hi M, thanks for your reply ,

Are there another data below the lists that should not be included in the named ranges?
- No there is no data stored below the named range only empty cells.

What is the data type in column B, numbers, text or mixed?
Column B have different currencies: text like "USD" "EUR" "GBP"
Column C = conversion for 1 usd: Numbers with decimal like "0,764625"
Column D = inv USD

Hope this is enough to clarify
 
Upvote 0
See if these work

currency
=Conversion!$B$63:INDEX(Conversion!$B:$B,MATCH(REPT("z",255),Conversion!$B:$B))

mycur
=Conversion!$B$63:INDEX(Conversion!$D:$D,MATCH(REPT("z",255),Conversion!$B:$B))

M.
 
Upvote 0
Nice, looks like this work but there is a small hiccup with this one :
Conversion!$B$63:INDEX(Conversion!$B:$B,MATCH(REPT("z",255),Conversion!$B:$B))

For some reason it produces last items in the list twice So when I select this list I get "SEK" twice , which is my last currency here
 
Upvote 0
Sorry this mistake was mine :)

Thanks alot for helping me with this..

Now my conversion rate script is almost finished.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,318
Members
452,634
Latest member
cpostell

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