I have a Google Spreadsheet document that I'm using to maintain a reference of all business logic on various systems. It is comprised of 2 sheets:
- Sheet1 is a view of all of the logic. Each row has a unique
code
column (column B) and many details about the logic being done in other columns - Sheet2 is a mapping of the systems to the logic. Each system is on one row. From column E onward, each cell is exactly a
code
from Sheet1
The relationship between code
and system is many to many, so the same code
may be used by many systems, and each system may have many code
s.
I would like to be able to filter Sheet1 based on whether the code
column in each row is found for particular systems.
Example
- System A and System B are in Sheet2 rows 50 and 51
- Their codes are from column E to K
- Filter Sheet1 by
code
wherecode
is contained in Sheet2!E50:K51. The end result should be Sheet1 shows only those codes (and of course all columns for them)
I have seen and tried a bit of the usual suspects (ARRAY_FORMULA, INDEX, LOOKUP) but I do not yet grok them fully. I thought the answer would be going to "Filter -> By Condition -> Custom Formula is" but I'm not sure what to put there.
Any help is greatly appreciated!