Results 1 to 8 of 8

Search for a string of code from a column in another string and return the code

Threaded View

Roopansh Search for a string of code... 02-05-2020, 08:38 PM
Pete_UK Re: Search for a string of... 02-05-2020, 08:59 PM
Roopansh Re: Search for a string of... 02-05-2020, 09:44 PM
Pete_UK Re: Search for a string of... 02-05-2020, 09:58 PM
Roopansh Re: Search for a string of... 02-05-2020, 10:13 PM
  1. #1
    Registered User
    Join Date
    02-05-2020
    Location
    australia
    MS-Off Ver
    Office 365 Business
    Posts
    4

    Lightbulb Search for a string of code from a column in another string and return the code

    Hi, I have a problem to solve which is explained in the following 3 steps:


    1. One column is there in which there are over 20,000 text strings which contain random data. Strings can be like: "$300 and above Weather Stations" OR like "Kestrel 5500 Weather Meter - IC-0855".
    2. Another column contains 10,000 unique product codes.Codes can be like: "0810-0004
    " or "IC-0855"
    3. The task is to search every string (in step 1), if there is any of the product codes present in that string, return that product code in front of that respective string. For example from the first two steps, I can see that the string "Kestrel 5500 Weather Meter - IC-0855" contains a product code (IC-0855) mentioned in the column containing product codes, so I want to return that product code in front of this string,

    I am attaching the sample data file if someone can help me with this. I thought VLOOKUP could help in this, but I couldn't find out a way around it, too.
    Thanks in advance.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Script to Search for a specific String then return cell values above that String-4
    By owensjb2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-03-2015, 01:28 AM
  2. [SOLVED] Script to Search for a specific String then return cell values above that String-3
    By owensjb2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-01-2015, 01:50 PM
  3. [SOLVED] Script to Search for a specific String then return cell values above that String-2
    By owensjb2 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-01-2015, 01:00 PM
  4. [SOLVED] Script to Search for a specific String then return cell values above that String
    By owensjb2 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-01-2015, 11:28 AM
  5. Search column for string and return every row with that string in new sheet
    By myers601 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-03-2012, 06:02 PM
  6. Replies: 3
    Last Post: 07-27-2011, 02:29 PM
  7. Replies: 2
    Last Post: 02-26-2008, 03:22 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