offset a looked up cell

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a file with two worksheets, "quote form" and "database". An employee
enters in an item # in cell B1 of "quote form" and I have written a vlookup
function that returns the address of that item on "database" into cell C1 on
"quote form."

Here's my problem: the price of the item on "database" is 8 columns over
and 2 rows down from the item number. When I write an offset function on the
"quote form" worksheet excel offsets that cell and not the address in it.

Any suggestions??
 
Assuming that Database!A1:I10 contains your database/source data, try...

=INDEX(Database!B1:I10,MATCH('Quote Form'!B1,Database!A1:A10,0)+2,8)

Adjust the range and sheet references accordingly.

Hope this helps!
 
Why not add a new column to your database and move the 'price' to the same
row as the 'item number'?
 

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