+ Reply to Thread
Results 1 to 11 of 11

Indirect search criteria to dynamic list

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-17-2012
    Location
    CA, USA
    MS-Off Ver
    Microsoft Excel for Microsoft 365
    Posts
    163

    Indirect search criteria to dynamic list

    I have a list of different configurations of sensors (different types of temperature, pressure, flow, etc). What I'm trying to do is if I type in a search cell, say A1, I would like to display the different types of configurations for that sensor. Not sure what this application should be, so I apologize if the title is sort of confusing. My guess is INDIRECT() may have some use to this application.

    An example would be in A1, I would type "OAT" (for Outside Air Temperature), and the adjacent column to A1 would display all the temperature sensor configurations uniquely (no repeat temp configurations) to the search. An example of the temperature configurations would be "TempdegreesF - -32 to 240", "TempdegreesF - 20 to 80", "TempdegreesC - 0 to 100", etc. The raw data of all of the sensor configurations could be elsewhere. Not sure how INDIRECT() could associate "OAT" with "Temperature" with minimal helper/reference/tag cells.

    I feel the only way to do this is create tags for each adjacent sensor configurations for each keyword I want to type in. Not sure how I would do that because it's backwards to what I know. If I do this, is there a way to create a dynamic tag for each search? Basically this database of sensor configurations will grow. The keywords to search for them will have very little growth. I may search "temp", "OAT", "ROOM TEMP", "Temperature", etc. but those are all somewhat all in the general category.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,047

    Re: Indirect search criteria to dynamic list

    Sounds more like data validation/drop-down to me, or perhaps index/small/if array. or perhaps just a simple filter?

    Can you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    05-17-2012
    Location
    CA, USA
    MS-Off Ver
    Microsoft Excel for Microsoft 365
    Posts
    163

    Re: Indirect search criteria to dynamic list

    Hi FDibbins,

    I attached a workbook with the result of what I'm looking for. I added notes in there as well to explain the groupings.
    Book1.xlsx

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,047

    Re: Indirect search criteria to dynamic list

    Im puzzled as to how OAT comes int play? what does that reference?

  5. #5
    Forum Contributor
    Join Date
    05-17-2012
    Location
    CA, USA
    MS-Off Ver
    Microsoft Excel for Microsoft 365
    Posts
    163

    Re: Indirect search criteria to dynamic list

    Temperature. OAT is an acronym for for Outside Air Temperature. Temperature is the keyword for finding the sensor configuration in dealing with Temperature. In more general terms, if I typed in "Apple", I would like it to return all the different varieties of apples but the catch is "apple" is not concatenated with the variety names. So the result for "Apple" would be "Granny Smith", "Red Delicious", etc.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,047

    Re: Indirect search criteria to dynamic list

    So would anything with "Temperature" in it need to be pulled, or are there other "Temperature" that would fall under a different code?

    And what other codes and "matching words" are there?

    What Im getting at is, excel needs to be given some link between your search criteria and the list of possible returns. As it stands, even I could not see a link for OAT until you told me

  7. #7
    Forum Contributor
    Join Date
    05-17-2012
    Location
    CA, USA
    MS-Off Ver
    Microsoft Excel for Microsoft 365
    Posts
    163

    Re: Indirect search criteria to dynamic list

    Yes. anything with temperature. However the search would be narrowed down based upon how exact the keyword/phrase is in the search box. If a sensor configuration was named "Temperature -40 to 370 degreeF" and I typed in "Temperature -40 to 370 degreeF". If I entered in "Temperature degreeF", the result would display all the sensors that display temperatures with units in Fahrenheit. If I entered in "OAT", "temp", "oat sensor", "oat temp sensor", they would display a very broad range of temperature sensors, but the search function would understand that it is referring to temperature for the sake of sensors. Other matching words will vary and perhaps be added upon.

    Sensors in this discussion only monitor one specific thing whether that may be temperature, pressure, humidity, energy, etc.

    I was afraid excel might think this would be too vague. My guess is I would add an additional column with each cell having tags delineated by a comma, or something else, to find the desired search results.

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,047

    Re: Indirect search criteria to dynamic list

    If I entered in "OAT",
    see now thats where you would need a list of codes and what they represent. How would excwel know that OAT means you want to pull temps or apples or goats?

  9. #9
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,883

    Re: Indirect search criteria to dynamic list

    This will search both from a list and using the free search.
    I converted the list to an Excel Table since it's easier to add stuff when testing.
    Attached Files Attached Files
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,047

    Re: Indirect search criteria to dynamic list

    Nicely done Jacc, that was exactly what I was getting at

  11. #11
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,883

    Re: Indirect search criteria to dynamic list

    He he... thanks, Ford!
    I even considered adding a search to the left column of the lookup table but I think it's risky enough as it is.
    Last edited by Jacc; 08-23-2015 at 12:51 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 07-29-2015, 08:36 AM
  2. [SOLVED] Dynamic range with indirect in data validation list doesn't work
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-30-2015, 07:38 AM
  3. Replies: 1
    Last Post: 03-03-2015, 08:41 PM
  4. Indirect Vlookup List and Dynamic Named Ranges - Is there a workaround
    By Jennasis in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-13-2013, 06:57 AM
  5. dynamic list using offset and indirect
    By ncarrocino in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-07-2013, 05:11 PM
  6. Search Multiple Worksheets Against List of Non-Exact Search Criteria?
    By thump4r in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-17-2010, 03:46 PM
  7. Dynamic Formula Built from Search Criteria
    By MJ in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-17-2006, 02:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1