Q: A Matrix using Index & Match from two separate tables
Hi All,
I have an interesting little challenge - I haven't come across anything quite like this before - Hoping that someone in the community has had a similar dilemma and maybe able to help.
Attempting (as always) to create a matrix (Table 1 - Matrix) and populate it with the status (e.g. R2, P9, etc.) from another separate table (Table 2 - Lookup). - Ideally, I would like to be able to return contents from a cell, but a logical result such as value 0/1 or “true/false” would also be OK.
In table 1, I have highlighted two examples of this:
RE-19 is linked to DE-772 and the status is “R2”
RE-29 is linked to DE-113 and the status is “P9"
Note: The status column will only ever have a single entry per cell
My first approach was to simply use Index and Match. This actually works fine, until the cell contains more than one RE-* reference in comma separated string as shown in these two examples. So, for the following example I need to find another way to say I found the "RE-" reference I am looking for and return the status value:
For example, the value “P9” is what I would like to be returned where the RE-29 reference was found in the corresponding DE-113 entry (E4). Likewise, the value of R2 to be returned where RE-19 was found in the corresponding DE-772 cell containing a string of RE-* references.
Would really welcome any ideas, suggestions or solutions to similar problem. If anyone needs a copy of the example file to play with, please let me know.
Thank you in advance.
Pasel
Additional Notes:
- Both tables have unique identifiers or references (i.e. RE-* in table 1 and DE-* in the lookup table).
- Both tables have links between the RE-* (shown in RED frame) and DE-* (shown by Green frame) - It is therefore possible use either
- Table 2 will increase in size as more entries are added.
- Most RE-* will have a one to many links in column C
MacBook Pro, Mac OS X (10.7.5)
Posted on Sep 8, 2016 10:00 AM


