+ Reply to Thread
Results 1 to 8 of 8

Concatenate multiple rows if condition is met

  1. #1
    Registered User
    Join Date
    02-04-2021
    Location
    California
    MS-Off Ver
    365 E3
    Posts
    10

    Concatenate multiple rows if condition is met

    Hello,

    I'm hoping there is a formula I can use to accomplish my need. I have a list of numbers in column A, and an associated Reference number in column B. If the number in column A is duplicated in multiple rows, I need the reference numbers in column B to concatenate into a single field in column C.

    Sample data attached.
    Cells A5 and A6 have the same Lot Number (53). So I need the reference numbers in Cell B5 (CID3121300038) and Cell B6 (CID3121300039) to concatenate in C5 (CID3121300038, CID3121300039).
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,297

    Re: Concatenate multiple rows if condition is met

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    copied down
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,297

    Re: Concatenate multiple rows if condition is met

    This thread has been marked solved. Is that it? No comment? No feedback? No thankyou? No +rep? Nothing? Makes it all worth while

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Taiwan
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,373

    Re: Concatenate multiple rows if condition is met

    Very bad, didn't say anything, the sign has been resolved, You feel bad when you encounter this situation, You will ignore him or her next time you meet him or her. me too

    This link is the same, Infected like a popular wind , helpless and powerless
    https://www.excelforum.com/excel-for...roblem-is.html
    Last edited by wk9128; 06-11-2022 at 04:29 AM.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,297

    Re: Concatenate multiple rows if condition is met

    You will ignore him or her next time you meet him or her. me too
    Oh, yes. I will definitely be avoiding/ignoring any future threads from kikijean. 20 minutes for a resolution and no response. Not happy.

  6. #6
    Registered User
    Join Date
    02-04-2021
    Location
    California
    MS-Off Ver
    365 E3
    Posts
    10

    Re: Concatenate multiple rows if condition is met

    I did immediately reply to say that was the perfect solution, appreciate the prompt reply and was very thankful. I'm sorry I must not have posted the reply properly before I closed the Thread. I was really trying to follow the guidelines. Thank you for your help!

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,297

    Re: Concatenate multiple rows if condition is met

    Ok, you're welcome. Maybe review the thread when you close it next time

  8. #8
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Taiwan
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,373

    Re: Concatenate multiple rows if condition is met

    @kikijean welcome back to the forum, nice to see you again

+ 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. [SOLVED] Concatenate Multiple Cell Values if Condition Is Met
    By Kimston in forum Excel General
    Replies: 11
    Last Post: 09-17-2020, 11:21 PM
  2. [SOLVED] Concatenate multiple rows into one cell across multiple columns
    By rosiekangaroo in forum Excel General
    Replies: 6
    Last Post: 05-26-2020, 05:42 PM
  3. Concatenate 2 rows but multiple columns - Is this possible?
    By Dan_B in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-20-2017, 07:13 AM
  4. [SOLVED] Concatenate Multiple Rows Into One Row
    By calvinle in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-27-2017, 10:54 PM
  5. [SOLVED] Need to concatenate multiple cells if a condition is met
    By Gssoc777 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-25-2015, 09:42 AM
  6. Concatenate multiple rows and columns into 1 cell
    By mj44 in forum Excel General
    Replies: 19
    Last Post: 08-29-2013, 02:37 PM
  7. Replies: 1
    Last Post: 12-20-2012, 04:18 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