another look-up problem(three variables)

  • Thread starter Thread starter mikey6704
  • Start date Start date
M

mikey6704

I am trying to do a look up based on three variables. The firs
variable determines the worksheet and the second and third ar
variables within the various worksheets

An example is the first variable is a region with a country and th
second and third variables are cities within the region and the answe
that comes back is the distance between the cities.

Any help would be appreciated
 
Use the indirect worksheet function to form a dynamic range - to inject the
correct sheet.

Use

offset(base range ,Match for row, Match for column)

assumes you have a list of cities down the column and across the top with
the distance at the intersection.
 
Thanks Tom. I have seen several post using the indirect function, but
have never worked with it. I did getting it doing what I was lookin
for. Very useful little tool
 

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

Back
Top