+ Reply to Thread
Results 1 to 4 of 4

Search for values in a row that is not order dependent

  1. #1
    Registered User
    Join Date
    07-28-2019
    Location
    NYC
    MS-Off Ver
    Office 365
    Posts
    2

    Search for values in a row that is not order dependent

    How would I search for a particular set of measurements across rows where the order of search parameters does not matter.

    For instance if I want to search for 3, 1, 5 as in row 2 but I enter 5, 1, 3 as the search order and I still get a search result that tells me that it is in row 2.

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Search for values in a row that is not order dependent

    To Save code , Right click sheet tab,>> Select "View Code",>> Vbwindow appears,>> Paste entire code into Vbwindow,>> Close Vbwindow.
    To run code "DoubleClick Cell "A1"
    on running code you will see an "Input" box, Enter your 3 numbers (Any Order), the result of any matching row will show in a MsgBox.


    Please Login or Register  to view this content.
    Regards Mick
    Last edited by MickG; 07-29-2019 at 08:12 AM.

  3. #3
    Registered User
    Join Date
    07-28-2019
    Location
    NYC
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Search for values in a row that is not order dependent

    This worked like Magic! Thank you very much.

    For some reason I didn't include two digit measurements but the code is still able to figure out double digits even though they are not separated by a comma or a space. This is great.

  4. #4
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Search for values in a row that is not order dependent

    You're welcome

+ 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. [SOLVED] Can Dependent Lists Be Auto-Updated From Out-of-Order Changes?
    By Kogen in forum Excel General
    Replies: 3
    Last Post: 10-10-2018, 02:21 PM
  2. Replies: 18
    Last Post: 05-15-2018, 05:17 AM
  3. [SOLVED] Returning multiple values dependent on text found using IF and SEARCH Functions
    By jujub33ns in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-26-2017, 08:41 AM
  4. [SOLVED] Cumulative SUM of values - in a order specified by a order list 1-10
    By etaf in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-30-2015, 03:56 PM
  5. Tab Order Dependent On Prior Response
    By UnreadSix in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2014, 12:49 PM
  6. [SOLVED] Macro to Reverse Order of Columns but Dependent on Number of Data Rows
    By francois28 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-10-2012, 06:34 PM
  7. search and match several values which are in different order.
    By Neddsomehelp in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-21-2009, 07:37 AM

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