Something that I have been working on for a while, I feel like I'm getting closer but not quite there! I would prefer a solution without VBA if possible...
In essence I have a number of products which are used for a number of projects in a number of locations. My spreadsheet has a series of worksheets, one for each product, which gives various information on the product including a table of locations where the product has been used, and on what projects at that location.
What I am trying to produce is a search function where a user can input a location and a project number another cell then returns the product used. The product is unique to each location and project combination.
Currently the list of projects for each location is comma separated, slightly complicating the situation. I currently have the below formula which searches the first product page and returns the correct result.
{=INDEX(Product1,MATCH([Location]&TRUE,Product1[Location]&ISNUMBER(SEARCH(","&[Project]&",",","&Product1[Projects]&",")),0),4)}
I am looking for a solution similar to this that searches all of the product sheets and returns the product name when found. I have tried the below but get a #N/A result, evaluation of the formula shows a #VALUE error in the ISNUMBER element of the formula.
{=INDEX(Sheet_List,MATCH([Location]&TRUE,Sheet_List&ISNUMBER(SEARCH(","&[Project]&",",","&Sheet_List&",")),0),4)}
Sample book attached. Thanks in advance!
In essence I have a number of products which are used for a number of projects in a number of locations. My spreadsheet has a series of worksheets, one for each product, which gives various information on the product including a table of locations where the product has been used, and on what projects at that location.
What I am trying to produce is a search function where a user can input a location and a project number another cell then returns the product used. The product is unique to each location and project combination.
Currently the list of projects for each location is comma separated, slightly complicating the situation. I currently have the below formula which searches the first product page and returns the correct result.
{=INDEX(Product1,MATCH([Location]&TRUE,Product1[Location]&ISNUMBER(SEARCH(","&[Project]&",",","&Product1[Projects]&",")),0),4)}
I am looking for a solution similar to this that searches all of the product sheets and returns the product name when found. I have tried the below but get a #N/A result, evaluation of the formula shows a #VALUE error in the ISNUMBER element of the formula.
{=INDEX(Sheet_List,MATCH([Location]&TRUE,Sheet_List&ISNUMBER(SEARCH(","&[Project]&",",","&Sheet_List&",")),0),4)}
Sample book attached. Thanks in advance!