Lookup for worksheet name

S

Snay

Does anyone know if there is a possibility to make a reference in
formula to one of a number of worksheets, depending on a value which
enter?

For example:

If cell A1 has the text content"Sheet 1", take thevalue of Cell B23 i
Worksheet 1, if cell A1 has the value "Sheet 2", take teh value of cel
B23 in Worksheet 2.

Thanks for an answer!

Regards

To
 
G

Gord Dibben

Tom

=INDIRECT(A1&"!"&"$B$23")

If you have many sheets to pick from set up a Data>Validation>List drop-down
in A1.

Gord Dibben XL2002
 

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