ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   look up table (https://www.excelbanter.com/excel-worksheet-functions/7708-look-up-table.html)

Janine

look up table
 
I have a salary schedule table. It is 10 columns across and 35 rows down.
On another worksheet I have three columns - Staff member, Step (=row), Lane
(=column).

I would like my staff worksheet to look up the salary for each staff member
- referencing the salary table and inserting the salary that intersects with
the row-column (step lane) of that particular staff member.

What function / formula should I be using?

Peo Sjoblom

Use index,

forexample assume the table is Sheet2 and A1:J35

=INDEX('Sheet2'!$A$1:$J$35,Step,Lane)

and copy down

So if John has 2 rows and 3 columns it will return Sheet2!C2

so lane 1 is column A (in this example, actually meaning the first column in
case your table doesn't start in A)

Regards,

Peo Sjoblom

"Janine" wrote:

I have a salary schedule table. It is 10 columns across and 35 rows down.
On another worksheet I have three columns - Staff member, Step (=row), Lane
(=column).

I would like my staff worksheet to look up the salary for each staff member
- referencing the salary table and inserting the salary that intersects with
the row-column (step lane) of that particular staff member.

What function / formula should I be using?



All times are GMT +1. The time now is 08:33 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com