View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default PROBLEM WITH INDIRECT & VLOOKUP FORMULA

Try moving the closed bracket to the end of the formula like so:

=INDIRECT((VLOOKUP(B2,D41:F50,3,TRUE))&"!A5")

I assume in your example that you want to get data from 1!A5

Hope this helps.

Pete

On Oct 11, 11:29 am, Tanya wrote:
Hi, I hope someone can help me

I have the following formula and as I step through it, I can't see any
problem with it, however it keeps returning an error.

Rolls!A4 contains the following formula

=INDIRECT((VLOOKUP(B2,D41:F50,3,TRUE))&"!")&A5

What I am trying to achieve:
I have 10 worksheets with a list of students names on each. the Vlookup
formula refers to an index [D41:F50] containing the following information:
className Teacher sheet
Eg. 9ISTX Mrs Duffy 1

Any assistance would be appreciated.
Regards
tanya