Hello
I'm trying to link 2 workbooks together so that I only have to update one (source workbook) and the other (linked workbook) updates automatically. Both workbooks have multiple spreadsheets and I am trying to link the two master sheets from each.
Basically I have a list of people with different assignments over a period of time. When I update the start/end dates of their assignment(s) on the source workbook I want the linked workbook to retrieve the new dates.
I figured I need to set up an index/match formula with 2 criterias (person's name and assignment)but I haven't managed to make it work.
I've tried different formulas:
The basic:
=Index(Source Workbook Date Range, Match (Linked Workbook Name&Assignement, Source Workbook NameRange&AssignmentRange, 0))
this returns a #VALUE error
then I tried something like this:
=INDEX(Source Workbook Date Range, MATCH(1, (Source Workbook Name Range = linked workbook Name) * (Source Workbook Assignment Range = linked workbook Assignment), 0))
but it is returning and #N/A, even though I've copied and pasted the criteria to make sure spelling was correct.
finally this one, but this time I get a #VALUE error. I'm thinking this might be because the value is a date and not a number.
=INDEX(Source Workbook Date Range, MATCH(1, INDEX((Source Workbook Name Range = linked workbook Name) * (Source Workbook Assignment Range = linked workbook Assignment),0), 0))
A couple of additional notes:
on the source workbook, the assignment cell value is already the result of an index/match formula, so I'm wondering if using a cell that contains a formula as a criteria might be a problem.
on the linked workbook, the assignment is a fix cell (it's not part of a table), so that part of the formula would actually be something like this (Source Workbook $B$2:$B$16 = linked workbook $G$2)
I am not sure what the "1" at the beginning of the Match brackets stands for in both these formulas, maybe that would explain why it doesn't work.
Finally, I did manage to make the first formula work when testing the Source workbook and a blank worksheet, but the dates returned where incorrect ( 20 oct 2007 when it should have been 2011)
So I'm hoping somebody can point out the potential mistakes i'm making, or if there is a better formula to use in this particular case.
thanks in advance !
I'm trying to link 2 workbooks together so that I only have to update one (source workbook) and the other (linked workbook) updates automatically. Both workbooks have multiple spreadsheets and I am trying to link the two master sheets from each.
Basically I have a list of people with different assignments over a period of time. When I update the start/end dates of their assignment(s) on the source workbook I want the linked workbook to retrieve the new dates.
I figured I need to set up an index/match formula with 2 criterias (person's name and assignment)but I haven't managed to make it work.
I've tried different formulas:
The basic:
=Index(Source Workbook Date Range, Match (Linked Workbook Name&Assignement, Source Workbook NameRange&AssignmentRange, 0))
this returns a #VALUE error
then I tried something like this:
=INDEX(Source Workbook Date Range, MATCH(1, (Source Workbook Name Range = linked workbook Name) * (Source Workbook Assignment Range = linked workbook Assignment), 0))
but it is returning and #N/A, even though I've copied and pasted the criteria to make sure spelling was correct.
finally this one, but this time I get a #VALUE error. I'm thinking this might be because the value is a date and not a number.
=INDEX(Source Workbook Date Range, MATCH(1, INDEX((Source Workbook Name Range = linked workbook Name) * (Source Workbook Assignment Range = linked workbook Assignment),0), 0))
A couple of additional notes:
on the source workbook, the assignment cell value is already the result of an index/match formula, so I'm wondering if using a cell that contains a formula as a criteria might be a problem.
on the linked workbook, the assignment is a fix cell (it's not part of a table), so that part of the formula would actually be something like this (Source Workbook $B$2:$B$16 = linked workbook $G$2)
I am not sure what the "1" at the beginning of the Match brackets stands for in both these formulas, maybe that would explain why it doesn't work.
Finally, I did manage to make the first formula work when testing the Source workbook and a blank worksheet, but the dates returned where incorrect ( 20 oct 2007 when it should have been 2011)
So I'm hoping somebody can point out the potential mistakes i'm making, or if there is a better formula to use in this particular case.
thanks in advance !