Indirect - Multiple Sheets/Cells

G

Guest

I have several sheets that I need to pull the information from cells K20,
K65, and K79 for each sheet.
On a "Summary" sheet, I have listed the sheet names in Column A.

So far I have tried using versions of an INDIRECT formula, but it does not
consistently work (in fact, the few times it has worked, I can't figure out
why)!

Here's the formula I was using:
=INDIRECT($A$2&"!"&"K20") Usually this formula comes back as #REF... What
am I doing wrong????
 
G

Guest

There is nothing wrong with your formula. Make sure that the tab name in
column A is EXACTLY the same as the tab name itself. No leading or trailing
blanks, etc.
 
B

Bernie Deitrick

K.I.S.S.,

You may have spaces in the sheet tab name:

=INDIRECT("'" & A2 & "'!K20")

HTH,
Bernie
MS Excel MVP
 
G

Guest

UGGGH! Just realized there were SPACES in my sheet names! Now I feel silly.
Thanks for your help!
 
G

Gord Dibben

You may have spaces in the sheet names.

With list of sheet names in column A

In B1 enter =INDIRECT("'"&A2&"'!"&"K20")

Note that A2 is not absolute so can be copied down.


Gord Dibben 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

Top