Hello,

I've struggled with building a INDEX formula that would reference dynamic 
file names and tabs which I'm hoping that someone can help with.

I'm building a file that would consolidate hours entered into a schedule by 
a shop.  Each week I would define which week from which I would pull the 
hours and use that value to look up the same named tab.

Here are two example files:  
https://www.dropbox.com/sh/w97qm7rv6nffttb/AAD7M23do2rotEko8I6YBxfGa?dl=0
1 - planning: schedule used by shop
2 - consol: the file i'll use each week to consolidate the hours.

I've attempted the INDEX formula using the dynamic INDIRECT variables but I 
keep getting a REF! error - 
[=INDEX((INDIRECT("'["&$B$2&"]"&$B$3&"'!"&"$A$64:$A$501")),M9,L9)&""].  See 
cell H9 in consol file.

If I use a regular INDEX formula the value is returned correctly 
[=INDEX('[PLANNING.xlsb]43'!$A$64:$AX$501,M9,L9)] so there must be 
something wrong with what I've attempted. See cell H6 in consol file.

What's odd is that my formula does work when it references other cells in 
the range so I looked at the cell and the only thing I can think of is that 
the cell with the error has conditional formatting?  Would this trigger it?

Thanks in advance for your help!


Dza

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.

Reply via email to