two way lookup and cell reference

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

Guest

Hi

I think that this has been asked before, but i can't find the answer.

I need to find the cell reference from a two-way lookup (think a table of
daily stock prices over a year, and then i want a particular stock's price on
a certain day).

The data are in a different workbook.

I've been stuck on this for a while now.

Greatly appreciate any advice.

Cheers
 
Detat,

Generally:

=INDEX(DataTable,MATCH(DesiredStockName,ColumnOfNameLabels,False),MATCH(DesriedDate,RowofDateFields,
False))

or the reverse, depending on which you have (Dates or STocknames) down the col vs across the row.
Just make sure that your column, row , and datatable coincide.

When you create the formula, just have the other workbook open, and select the ranges as required.

HTH,
Bernie
MS Excel MVP
 

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

Similar Threads


Back
Top