+ Reply to Thread
Results 1 to 5 of 5

Search substring of an array matching a list of string from another array and returning as

  1. #1
    Registered User
    Join Date
    12-20-2013
    Location
    Msia
    MS-Off Ver
    Excel 2003
    Posts
    2

    Search substring of an array matching a list of string from another array and returning as

    I've got an excel question that I'm struggling to find a solution to. For this solution I cannot use any macros/vba. Only formulas allowed because I need to export this to Xcelsius which doesn't support any macros/vba. Btw I can;'t use Row() in xcelsius too.
    Please Login or Register  to view this content.
    Any help/advise welcomed. Thank you very much!

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Search substring of an array matching a list of string from another array and returnin

    Hi and welcome to the forum!

    Unfortunately the format of your table has left it virtually impossible to work out the set-up of your data, not to mention what your desired results are.

    Kindly upload an actual spreadsheet and outline clearly what your expected results are in each case, preferably with a brief explanation as to why.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    12-20-2013
    Location
    Msia
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Search substring of an array matching a list of string from another array and returnin

    Capture.PNG

    In Xcelsius we are using excel as the underlying data model.
    The list of values are filters value that I'm using to send to the backend database. The "/" indicates hierarchy which means if I select "Car" from an input list, I would want to take all list of values that contain "Car".

    The list of string to match is simplified here. It is actually represented as a hierarchy tree where you have top level "Car">"Import">"Automatic" and so on. But user will select say level 2 "Import".

    Thanks for your reply hope you can give some pointers

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Search substring of an array matching a list of string from another array and returnin

    Ah, unfortunately pictures are not much use on an Excel forum! (Principally as it would necessitate anyone wishing to tackle your problem first reproducing the data from the picture in an actual Excel sheet in order to test potential solutions, and I'm sure you can appreciate that not everyone would be prepared to do this.)

    Are you unable to attach an actual workbook?

    Regards

  5. #5
    Forum Contributor amit.wilson's Avatar
    Join Date
    07-09-2013
    Location
    Gotham
    MS-Off Ver
    Excel for Mac 2011
    Posts
    283

    Re: Search substring of an array matching a list of string from another array and returnin

    90 - I've copied the text from your post and pasted it into excel. See if the attached works.

    Without VBA or row(), the final list won't be as neat as your mockup. Column C will have blanks in front of the values that don't match any of the strings to be matched.

    Cheers
    Attached Files Attached Files
    <-- If you're happy & you know it...click the star.:-)

+ 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] Return matching string in array if cell contains string contained in the array
    By AaronsZ in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-03-2013, 01:55 PM
  2. Replies: 2
    Last Post: 03-02-2013, 04:36 PM
  3. [SOLVED] matching a value in an array and returning row number
    By weeble33 in forum Excel General
    Replies: 3
    Last Post: 08-17-2012, 08:22 AM
  4. search for a part of string within an array of strings from another array list
    By jdonohue in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-12-2011, 01:32 PM
  5. Macro returning string, while i want array
    By DanceFanatic707 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-01-2010, 02:57 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