I am working with an Excel table with about 7500 lines exported from a database. I do not have access to the database and need to filter the table to look up a numeric site location in one of the columns.
For example, I need to know which records are associated with site location 65. Because records can be associated with one or many sites, I need to find just 65 in a cell, not 165, 651, etc. Records with multiple associated site locations have those locations separated by commas. (60, 65, 68, 103, 104, 105, 108). A 65 could be the only site in a cell, the first site of many, or the last site of many.
This is the formula I tried in each row of K from K3 down:
In K2, I have ", 65" (no quotes). In L2, I currently have " 65," (no quotes). I am not capturing cells with just 65 as the only entry. Any ideas?
All help appreciated!
For example, I need to know which records are associated with site location 65. Because records can be associated with one or many sites, I need to find just 65 in a cell, not 165, 651, etc. Records with multiple associated site locations have those locations separated by commas. (60, 65, 68, 103, 104, 105, 108). A 65 could be the only site in a cell, the first site of many, or the last site of many.
This is the formula I tried in each row of K from K3 down:
Code:
=OR(ISNUMBER(SEARCH($K$2,I7)),(ISNUMBER(SEARCH($L$2,I7))))
All help appreciated!