I've got the following table in an array called All_Data:
On a separate tab I have a search box that can return data
And so on. What I'm trying to accomplish is to be able to type in any field in Search for and still get the same info. Using vlookup I can get it to return one item. I.e. the field always has to be Serial.
If I use index and match it kinda works, but I guess I'm not 100% understanding how to use it as I can only get it to search on one line.
=INDEX(All_Data,MATCH("Room2",A2:I2)+1,5) would return Ports2, but again I had to specify using line 2
What would be the best way to search the whole array for any data and return the line for that data.
(Thinking out loud)
If I could search the array for say Room3, and this would return the line number, or I could add an index column and return that number, then somehow use that so show the fields in the results:
Say the search returns index number 411, then show the returns as =text(E(411)) or =text(F(411)) etc... is this possible?
Any guidance?
Name | Device | Location | Serial | Ports | Room | Notes | Date | Time |
Name1 | Device1 | Location1 | Serial1 | Ports1 | Room1 | Notes1 | Date1 | Time1 |
Name2 | Device2 | Location2 | Serial2 | Ports2 | Room2 | Notes2 | Date2 | Time2 |
Name3 | Device3 | Location3 | Serial3 | Ports3 | Room3 | Notes3 | Date3 | Time3 |
On a separate tab I have a search box that can return data
Search for: | I.e. Room2 |
Serial: | Serial2 |
Location | Location2 |
And so on. What I'm trying to accomplish is to be able to type in any field in Search for and still get the same info. Using vlookup I can get it to return one item. I.e. the field always has to be Serial.
If I use index and match it kinda works, but I guess I'm not 100% understanding how to use it as I can only get it to search on one line.
=INDEX(All_Data,MATCH("Room2",A2:I2)+1,5) would return Ports2, but again I had to specify using line 2
What would be the best way to search the whole array for any data and return the line for that data.
(Thinking out loud)
If I could search the array for say Room3, and this would return the line number, or I could add an index column and return that number, then somehow use that so show the fields in the results:
Say the search returns index number 411, then show the returns as =text(E(411)) or =text(F(411)) etc... is this possible?
Any guidance?