Named Range?

Puppies72

Board Regular
Joined
Mar 29, 2010
Messages
211
Hi all,

I have a series of named ranges in a sheet called 'Ships' e.g. 'Ian' should be Ships!A506:A1005, these are used in indirect data validation, however if I sort the sheet Ships! then I lose the named range as it now refers to the same cells but with different content - is there any way I can have a sort of dynamic range name that will always refer to the same cells irrespective of where they are in a sorted list???

as always help appreciated
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Try
Name: myRange
RefersTo: =INDEX(Ships!$A:$A, 506, 1):INDEX(Ships!$A:$A, 1005, 1)
 
Last edited:
Upvote 0
Hmm doesn't seem to be working for the indirect data validation

In sheet Combat!B11 I have a data validated cell for a list of players - Craig Ian Ricky etc - so I have a drop down list from which I can select a player. I then need C11 to be an indirect dropdown from B11 - using the index formula above to define the named range doesn't seem to work - I have checked formula manager and the name Ian is clearly defined as per your suggestion but the data validation in C11 doesn't give me any options

any ideas??
 
Upvote 0
If you have three named rangest, Ian, John and Dave, perhaps you could use something like

Name: finalResultRange
RefersTo: =CHOOSE(MATCH(Sheet2!$B11,{"Ian","John","Dave"},0),Ian,John,Dave)
 
Upvote 0

Forum statistics

Threads
1,224,506
Messages
6,179,159
Members
452,892
Latest member
yadavagiri

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