+ Reply to Thread
Results 1 to 7 of 7

Combine Rows For Duplicates in Column

Hybrid View

  1. #1
    Banned User!
    Join Date
    03-06-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    295

    Combine Rows For Duplicates in Column

    I have attached a down sized version of my workbook. The original workbook contains over 10K rows of data. I would like to be able to combine duplicates based on cells in column A from Table 1 to result in what is now Table 2. The cells in question are highlighted yellow in Table 1 which result in the rows highlighted green in Table 2. I appreciate any suggestions or help on this.

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,691

    Re: Combine Rows For Duplicates in Column

    Here you go - try this:

    Excel 2016 (Windows) 32 bit
    A
    B
    C
    D
    12
    Table 2
    13
    ID
    Paid
    Due
    Total
    14
    =IFERROR(INDEX($A$2:$A$9,MATCH(0,INDEX(COUNTIF($A$13:A13,$A$2:$A$9),0,0),0)),"")
    =SUMIF($A$3:$A$9,$A14,B$3:B$9)
    =SUMIF($A$3:$A$9,$A14,C$3:C$9)
    =SUMIF($A$3:$A$9,$A14,D$3:D$9)
    Sheet: Sheet1
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Banned User!
    Join Date
    03-06-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    295

    Re: Combine Rows For Duplicates in Column

    Oh my goodness that is a long reply.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,418

    Re: Combine Rows For Duplicates in Column

    Here's a thread from yesterday, which covers the same subject:

    http://www.excelforum.com/showthread.php?t=1167195

    Hope this helps.

    Pete

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,691

    Re: Combine Rows For Duplicates in Column

    No, I've edited it - I copied the wrong code initially!

  6. #6
    Banned User!
    Join Date
    03-06-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    295

    Re: Combine Rows For Duplicates in Column

    Wow you are really a wizard at this stuff thanks so much!

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,691

    Re: Combine Rows For Duplicates in Column

    You're welcome.

+ 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. Combine cells based on column duplicates
    By Gunther09 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-23-2016, 12:07 PM
  2. [SOLVED] Macro --- Combine Duplicates --- Delete Row --- Update Column
    By hftechno in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-30-2015, 11:49 AM
  3. Replies: 7
    Last Post: 03-13-2015, 05:34 PM
  4. Need to combine like rows by duplicates in 2 columns
    By toolmanwill in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2011, 12:58 AM
  5. Combine column data according to duplicates
    By harlowjohn1 in forum Excel General
    Replies: 2
    Last Post: 05-29-2010, 12:17 PM
  6. Replies: 4
    Last Post: 12-04-2007, 03:08 PM
  7. [SOLVED] How do I combine rows, combining duplicates as well as concatenati
    By Donovan Panone in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-25-2005, 03:06 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