Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
tiggz13
 
Posts: n/a
Default offset a looked up cell

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??
  #2   Report Post  
Domenic
 
Posts: n/a
Default

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!

In article ,
"tiggz13" wrote:

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??

  #3   Report Post  
Fred
 
Posts: n/a
Default

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

"tiggz13" wrote:

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??

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
Syntax for inferred cell references donesquire Excel Worksheet Functions 4 April 4th 05 09:29 PM
inserting data from a row to a cell, when the row number is specified by a formula in a cell [email protected] New Users to Excel 2 January 6th 05 07:18 AM
VLookup resulting in a blank cell... KempensBoerke Excel Worksheet Functions 1 October 28th 04 09:57 PM


All times are GMT +1. The time now is 05:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"