+ Reply to Thread
Results 1 to 6 of 6

String Combination Based on Specific Lists

  1. #1
    Registered User
    Join Date
    08-11-2016
    Location
    New York
    MS-Off Ver
    2013
    Posts
    78

    String Combination Based on Specific Lists

    Hello,

    What I'm trying to achieve is a method where I'm able to create a specified group name based on three columns. To explain I created a combination of keywords that I needed and the next step is to create a group name based off the keywords created in a specific format. I tried using partial text match with concatenate formula but to no avail. I enclosed a sample of my problem and I apologize in advance if this sounds a bit confusing. Any help with this would be appreciated.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    11-05-2019
    Location
    Tiki Island, TX
    MS-Off Ver
    Office 365
    Posts
    168

    Re: String Combination Based on Specific Lists

    The best way to do this is using the Tables and Data Queries functions of Excel. I took your inputs and made them a table by pressing Ctl-T. Then I went to the data tab and made a query from the table and manipulated it. You will need to look at the Advanced Editor after pressing the Data and Queries button from the Data tab to see exactly how. However this result you can add to any of the columns and the proper combination will appear as a group name.
    Attached Files Attached Files
    If I was able to help you, you can thank me by clicking the Add Reputation button below and marking the thread Solved.

  3. #3
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,057

    Re: String Combination Based on Specific Lists

    Standardised product naming method/convention, using TRIM and CONCATENATE functions like below:

    String Combination Based on Specific Lists.png

  4. #4
    Registered User
    Join Date
    08-11-2016
    Location
    New York
    MS-Off Ver
    2013
    Posts
    78

    Re: String Combination Based on Specific Lists

    Thank you both for looking into this...@DavidBowan I never thought of using powerquery to attain this! Thanks again for taking the time to help with these problem

  5. #5
    Forum Contributor
    Join Date
    12-13-2013
    Location
    Calgary,AB,Canada
    MS-Off Ver
    2016,O365
    Posts
    236

    Re: String Combination Based on Specific Lists

    h2=INDEX($N$2:$N$10,ROW(A4)/4)&" | "&INDEX($P$2:$P$10,ROW(A4)/4)&" | "&INDEX($N$2:$N$10,ROW(A4)/4)&" "&INDEX($O$2:$O$10,MOD(ROW(A4),4)+1)

  6. #6
    Registered User
    Join Date
    08-11-2016
    Location
    New York
    MS-Off Ver
    2013
    Posts
    78

    Re: String Combination Based on Specific Lists

    Thanks CAABYYC! This is brilliant this actually helped solved the problem!

+ 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: 4
    Last Post: 01-16-2019, 12:35 PM
  2. [SOLVED] How to find specific value in row based on multiple lists options
    By M006527 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-03-2015, 03:06 PM
  3. Extract string based on specific string
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-15-2014, 12:16 AM
  4. Substituting Words in a String based on Synonym Lists
    By whatappears in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-11-2012, 11:57 AM
  5. [SOLVED] Function that lists specific rows of a database based on a cell value
    By setilvenstre in forum Excel General
    Replies: 7
    Last Post: 10-18-2012, 10:39 AM
  6. run macro based on combination of values from 2 dropdown lists
    By myls_phil in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-10-2012, 10:46 PM
  7. [SOLVED] Populating Specific Lists Based on Criteria
    By Kate in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-15-2005, 05:05 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