+ Reply to Thread
Results 1 to 5 of 5

Vlookup, if and concatenate matching criteria/designator

  1. #1
    Registered User
    Join Date
    06-03-2013
    Location
    Matamoros, Mexico
    MS-Off Ver
    Excel 2007
    Posts
    52

    Question Vlookup, if and concatenate matching criteria/designator

    Hello to all...

    I have in a table the following information starting in G36 (Designator) and Box Serials (H36) as shown in the Table below:

    Designator Box Serials

    1 KVZV, XNHM, QJFW, GFVN,
    1 PBMG, BXQD, LLRZ, CGJNL,
    2 ZDTN, WPLS, MZGC, HKDT,
    1 QFXB, BMVV, VGHF, VXPK,
    2 ZFTN, RCJD, DCFV, GXRX,
    1 SXDX, CPSM, KXTK, PHCX,
    2 QVJT, LWCK, TRWL, LPZQ,
    1 PTRX, CPKD, LXJC, KTNV,

    While reviewing this, I have in cell G63 the Criteria Value (1) and in cell G64 the criteria value (2).

    Can anyone help me to find a formula to concatenate the box serials accordingly with the Criteria/Designator value (1 or 2) in cells H63 and H64 respectively??

    I've been doing some searching, but not close to what I am looking for. I know about the Morefunc add-in, but I can not install it in my office computer. I can not also record UDF/VBA codes, due security excel settings and because the original file is on a distribution list, that will imply to attach also the UDF/VBA code in the e-mail. These are my reasons to avoid morefunc add-in and VBA/UDF codes.

    Hope somebody can help me with my thread. I have received help in other threads and everyone kindly helped me.

    Best regards and please have a great day.

    Samuel Cruz.
    Matamoros, Mexico.

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Vlookup, if and concatenate matching criteria/designator

    Post a sample workbook instead of the above and that might help.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Vlookup, if and concatenate matching criteria/designator

    What would your expected outcome be?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    06-03-2013
    Location
    Matamoros, Mexico
    MS-Off Ver
    Excel 2007
    Posts
    52

    Question Re: Vlookup, if and concatenate matching criteria/designator

    Concatenate If Match Designator.xlsx
    Quote Originally Posted by mikeTRON View Post
    Post a sample workbook instead of the above and that might help.
    Hello!!!

    Thank you for the prompt answer. Attaching file with expected out comes.
    For review.

    Best regards!!!

    Samuel Cruz.
    Matamoros, Mexico.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Vlookup, if and concatenate matching criteria/designator

    If you dont want to/cant use VBA, then try this using 2 helper columns (I used I and J...

    G
    H
    I
    J
    36
    Designator Box Serials
    37
    1 KVZV, XNHM, QJFW, GFVN, KVZV, XNHM, QJFW, GFVN,
    0
    38
    1 PBMG, BXQD, LLRZ, CGJNL, KVZV, XNHM, QJFW, GFVN, PBMG, BXQD, LLRZ, CGJNL,
    0
    39
    2 ZDTN, WPLS, MZGC, HKDT, KVZV, XNHM, QJFW, GFVN, PBMG, BXQD, LLRZ, CGJNL, 0 ZDTN, WPLS, MZGC, HKDT,
    40
    1 QFXB, BMVV, VGHF, VXPK, KVZV, XNHM, QJFW, GFVN, PBMG, BXQD, LLRZ, CGJNL, QFXB, BMVV, VGHF, VXPK, 0 ZDTN, WPLS, MZGC, HKDT,
    41
    2 ZFTN, RCJD, DCFV, GXRX, KVZV, XNHM, QJFW, GFVN, PBMG, BXQD, LLRZ, CGJNL, QFXB, BMVV, VGHF, VXPK, 0 ZDTN, WPLS, MZGC, HKDT, ZFTN, RCJD, DCFV, GXRX,
    42
    1 SXDX, CPSM, KXTK, PHCX, KVZV, XNHM, QJFW, GFVN, PBMG, BXQD, LLRZ, CGJNL, QFXB, BMVV, VGHF, VXPK, SXDX, CPSM, KXTK, PHCX, 0 ZDTN, WPLS, MZGC, HKDT, ZFTN, RCJD, DCFV, GXRX,
    43
    2 QVJT, LWCK, TRWL, LPZQ, KVZV, XNHM, QJFW, GFVN, PBMG, BXQD, LLRZ, CGJNL, QFXB, BMVV, VGHF, VXPK, SXDX, CPSM, KXTK, PHCX, 0 ZDTN, WPLS, MZGC, HKDT, ZFTN, RCJD, DCFV, GXRX, QVJT, LWCK, TRWL, LPZQ,
    44
    1 PTRX, CPKD, LXJC, KTNV, KVZV, XNHM, QJFW, GFVN, PBMG, BXQD, LLRZ, CGJNL, QFXB, BMVV, VGHF, VXPK, SXDX, CPSM, KXTK, PHCX, PTRX, CPKD, LXJC, KTNV, 0 ZDTN, WPLS, MZGC, HKDT, ZFTN, RCJD, DCFV, GXRX, QVJT, LWCK, TRWL, LPZQ,


    I37=IF(G37=1,I36&" "&H37,I36)
    J37=IF(G37=2,J36&" "&H37,J36)

    both copied down. You would then reference the last entry in each column for your answer

+ 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: 2
    Last Post: 06-08-2014, 09:47 PM
  2. Multiple criteria matching for VLOOKUP
    By utpalsekhar in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-10-2012, 07:40 AM
  3. Replies: 1
    Last Post: 07-24-2012, 06:49 AM
  4. Replies: 2
    Last Post: 06-12-2012, 06:39 PM
  5. Vlookup and matching 2 criteria
    By rantarctica in forum Excel General
    Replies: 2
    Last Post: 12-23-2008, 07:41 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