lookups and ranges

D

Dillonstar

I have a page of vlookups that look at data on other worksheets.

At the moment, if I want to change the worksheet that contains the
necessary range, I have to replace the name of the worksheet.

eg

=IF(ISERROR(HLOOKUP($B$1,'Business
Multi'!$D$1:$EP$3000,HZ16,FALSE)),"",(HLOOKUP($B$1,'Business
Multi'!$D$1:$EP$3000,HZ16,FALSE)))

So if I want to look at the worksheet Business NonMulti, I use the
find/replace wizard.

Ideally, I'd like to set up named ranges within each worksheet and use
a drop-down list (validation) to choose which range the formula looks
at, but have had no success sofar.

The reference to HZ16 is basically the row ID of the required data.

Thanks

Steve
 
D

Dillonstar

forget that - I've used the INDIRECT function, looking at the drop-down
cell, which works.

Thanks anyway
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top