Hello, I am trying to combine the Index/Match functions with the Concatenate Function.
I have two sheets (Sheet 1, Sheet 2). I want cell A1 in Sheet 1 to index and match a cell in Sheet 2. Sheet 2's name will change several times throughout the year, so I just want to be able to type the name of Sheet 2 into a cell B1 in Sheet 1 and have A1 reference that file name from the name in B1.
The Index/Match formula is simple (and works) if the file name for Sheet 2 stayed static. In this example, A1 is a color. It will reference the cell in Sheet 2 that matches "Fruits" and return to me the item in the Items Column.
INDEX('C:\Files\Spreadsheets\Sheet2.xls'!Items,MATCH($A$1,'C:\Files\Spreadsheets\Sheet2.xls'!Fruits,0))
Since the name is not static, I need to use the concatenate function to type in the new year and month (displayed as 2013.10 for October 2013) that each file is saved by. The file name would be "List 2013.10.xls" Next month it would be "List 2013.11.xls"
I came up with this formula but it is not working...can anyone tell me where I am going wrong?
INDEX("'"&CONCATENATE("C:\Files\Spreadsheets\",B1,".xls")!Items, Match($A$1,("'"&CONCATENATE("C:\Files\Spreadsheets\",B1,".xls")!Fruits,0))
In this, Cell B1 = "List 2013"
Can anyone help me here??
Thanks in advance
Bookmarks