VLOOKUP type function to pull data from multiple sheets

D

Dayan

Want to know if there is a function that will let me pull
data seletively from from several differencet work sheets,
much the same way as VLOOKUP / HLOOKUP work on a single
spreadsheet.

Any help will be much appreciated.

To illustrate

- I have a work book comprised of 10 worksheets that have
been formatted identicaly.

- I am looking for formula that will let me pull the
contents of cell A4 on any given sheet I choose

- Then have the functionality that will let me pull the
contents from cell A4 in a different sheet

In others words - I am try to do the same thing that
VLOOKUP does on a single sheet over multiple sheets
 
H

Harlan Grove

Want to know if there is a function that will let me pull
data seletively from from several differencet work sheets,
much the same way as VLOOKUP / HLOOKUP work on a single
spreadsheet.

Any help will be much appreciated.

To illustrate

- I have a work book comprised of 10 worksheets that have
been formatted identicaly.

- I am looking for formula that will let me pull the
contents of cell A4 on any given sheet I choose

- Then have the functionality that will let me pull the
contents from cell A4 in a different sheet

In others words - I am try to do the same thing that
VLOOKUP does on a single sheet over multiple sheets

Looks like you could use INDIERCT. If the worksheet name corresponded to the
lookup value, then try

=INDIRECT("'"&WorhsheetNameEntry&"'!A4")

or

=INDIRECT("'"&WorhsheetNameEntry&"'!"&CELL("Address",A4))
 
T

Tim Zych

One more possibility, if the sheet name has apostrophes they'll have to be
doubled up, so this modification should work for all situations:

=INDIRECT("'"&SUBSTITUTE(WorkhsheetNameEntry,"'","''")&"'!A1")

Tim
 

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

Top