I'm having a heck of a time trying to figure out how to use the INDEX function.
I have "TABLE 1" that lists:
- INDEX NUMBER
- AREA (defined as "100-1", "110-1", etc.)
- DEVICE (example number: 5-HS-6163)
- LOC_ALARM (example: 40144/1, "LOC" is short for "memory Location")
- LOC_FAULT (example: 40144/2)
- LOC_STOP (example: 40144/3)
Table 1 is completely filled out and there will never be a the same DEVICE in two AREA's, but each DEVICE has an "ALARM_LOC", "FAULT_LOC" and "STOP_LOC".
Table 2 is divided into 5 groups, with each group associated to a specific "AREA". The goal is to find the DEVICE in table 1, for a specific "LOC_ ..." value, and capture the DEVICE number, and which one of the 3 possible "LOC_..." values it is.
I've tried a number of different variations of the INDEX function with a MATCH function, but I can't seem to get it to work. Anyone's help is greatly appreciated.
The attached spreadsheet show the two tables.
Bookmarks