Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to convert an Excel spreadsheet into Google, but can't get this VLookup(Indirect)) combination to work.

My data sheets are named with a code, for example "fred01", and look like this:

      ---A--- ----B----
2]    Name    Fred
3]    Date    18/01/2010
4]    Amount  1234
5]    Status  active

Column A is always field-names, column B is always the values.

My summary sheet needs to get the values from the various sheets, not all of which have all the fields. New fields are added, as are new sheets, all the time.

So, in Excel, I would simply do:

     ---A--- ---B--- ---C---
2]   fred01   1234   =VLOOKUP("Amount",INDIRECT(CONCATENATE(A2,"!$A:$B")), 2, False)
3]   jane01    144   =VLOOKUP("Amount",INDIRECT(CONCATENATE(A3,"!$A:$B")), 2, False)
4]   sam01      82   =VLOOKUP("Amount",INDIRECT(CONCATENATE(A4,"!$A:$B")), 2, False)

In Google Spreadsheets however, this returns an #N/A error.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Thanks to an answer on the Google support forum, I found the solution:

Thank you, A.P.L.

In GSheets, INDIRECT doesn't support "open-ended" ranges; you will need to specify row numbers:

=VLOOKUP("Amount",INDIRECT(CONCATENATE(A2,"!$A1:$B99")), 2, False)

Simple :)

share|improve this answer
If you want more explanation, this tutorial does a good job in my experience:… –  Javaaaa Jul 27 '13 at 18:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.