+ Reply to Thread
Results 1 to 2 of 2

concatenated matches across two sheets

  1. #1
    Registered User
    Join Date
    12-15-2022
    Location
    Texas
    MS-Off Ver
    365
    Posts
    2

    concatenated matches across two sheets

    Sorry - new and it won't let me attach anything so doing the best I can below for sample data. I'm looking for the shortest method to do a lookup using concatenated fields in a first sheet with concatenated fields in a second sheet. I have a list of serial numbers and customers in one sheet that contains various data. Customer can have several serial numbers so I concatenate to create a key field. In a second sheet, I also have a list of serial numbers and customers with a different set of corresponding data. I would like to have a vlookup with a concatenate in the vlookup as well as in the array but it appears that is impossible and I need to do something else. Assume it is something like below:

    Sheet 1 Sheet2
    A B C A B C D
    Name Serial Number Model Concat Name Serial Number Series
    Susy 12345 X1 Susy12345 Susy 12345 XRAY

    So I want to look up a concat of A&B from Sheet1 using B&C of Sheet2 so I can add the Series to sheet 1. Currently I create a concat in Sheet2 in column A as above and then do vlookup(A&B,Sheet2!A:D,4,false). This gets me what I'm looking for but I have to go modify sheet 2 so my lookup will work. I would like to not have to do that and instead use a formula to concatenate the array as well. I'm assuming I'm either going to have to use indirect or some kind of index/match but I haven't been able to figure it out.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,671

    Re: concatenated matches across two sheets

    Read the yellow banner at the top of this page on how to attach a file.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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: 8
    Last Post: 11-28-2022, 10:46 PM
  2. Match a concatenated value in a concatenated list in a vba function
    By Rolly_Sefu in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-14-2021, 07:52 AM
  3. [SOLVED] How to count partial matches in single cell with multiple concatenated values?
    By therealdees in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-04-2021, 01:45 AM
  4. [SOLVED] Loop worksheets and if sheets Name matches pattern, rename sheets
    By dluhut in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-23-2016, 01:08 AM
  5. Concatenate row values on 2 sheets and conditional format where concatenated values <>
    By mosesthetank in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-27-2015, 02:06 PM
  6. Comparing Data between sheets to find matches and no matches
    By tysont in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-26-2015, 03:07 PM
  7. vba to Match concatenated values in concatenated columns
    By bjurick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2012, 03:45 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