+ Reply to Thread
Results 1 to 4 of 4

Search Table by Partial String Criteria, No Arrays

  1. #1
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Question Search Table by Partial String Criteria, No Arrays

    Hello,

    I have a huge Crystal Report that I use to feed one of my quarterly forms. The name fields I am searching often contain middle initials, middle names, prefixes or suffixes. Our compensation roster searches each string for matches to first and last name, and then reports corresponding data offset a number of a rows and columns. (Crystal Reports don't covert well to Excel files and always injects 5-10 rows and 5-10 columns per statistic.)

    For the purpose of whom I'm handing this off to, I need to find a way to generate the data without using arrays.

    Assuming A:A has strings, B:B has values, can I retrieve values of B where C and D both appear within A?

    index-search no array.xlsx
    Last edited by daffodil11; 07-29-2013 at 07:21 PM. Reason: updated sample to reflect offset

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Search Table by Partial String Criteria, No Arrays

    hi daffodil11. assuming your numbers are always the 3rd row after the Names, try this in I2:
    =INDEX($C$4:$C$14,MATCH("*"&H2&"*"&G2&"*",$A$2:$A$12,0))

    if the names are unique, this will suffice:
    =SUMIF($A$2:$A$10,"*"&H2&"*"&G2&"*",$C$4:$C$12)

    change the range to column E for Score2

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Search Table by Partial String Criteria, No Arrays

    Pl see the attached file.
    Attached Files Attached Files

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Search Table by Partial String Criteria, No Arrays

    Many thanks, both of you. This has been an issue for nearly 8 months.

    I can finally put this issue to bed and delegate the assignment.

+ 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. Search in a listbox on partial string as you type
    By Flyb in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-11-2015, 08:24 PM
  2. [SOLVED] Partial String Match in COUTIF Criteria Range?
    By amazinglazers in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-21-2013, 09:58 AM
  3. [SOLVED] Vlookup, Match (Search or Find) partial string within string in a Cell
    By dluhut in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-28-2013, 12:40 PM
  4. [SOLVED] Search for a partial string match and cycle through matching results
    By kamelkid2 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-08-2013, 08:27 AM
  5. Index Match nesting w/ partial text string criteria
    By dohearn in forum Excel General
    Replies: 1
    Last Post: 10-25-2011, 03:42 PM

Tags for this Thread

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