+ Reply to Thread
Results 1 to 7 of 7

Combine 2 Columns from 2 different sheets with keeping duplicates

  1. #1
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Combine 2 Columns from 2 different sheets with keeping duplicates

    Hello Friends

    Please find the attached excel file.

    I need to combine the columns in 2 Sheets (Sheet 1 and Sheet 2 in Sheet3)

    Results hardcored in Sheet3 in light yellow cells need to be plot by formula.

    thanks in advance
    Sekar

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Combine 2 Columns from 2 different sheets with keeping duplicates

    Is this something you want to do many times in which case a macro may be best, otherwise just copy and pate one list under the other and renumber.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Re: Combine 2 Columns from 2 different sheets with keeping duplicates

    By using formula, just copy one under the other.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,214

    Re: Combine 2 Columns from 2 different sheets with keeping duplicates

    In Sheet3

    in C4

    =IF(ROWS($1:1)<=COUNT(Sheet1!$A$4:$A$25),INDEX(Sheet1!C:C,ROWS($1:4)),INDEX(Sheet2!C:C,ROWS($1:4)-COUNT(Sheet1!$A$4:$A$25)))

    copy across and down

  5. #5
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Re: Combine 2 Columns from 2 different sheets with keeping duplicates

    Hello John

    Thank you

    This is my exact requirement, i test it in my real application from the sample model attachment. it is working fine.

    Thanks again.

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,214

    Re: Combine 2 Columns from 2 different sheets with keeping duplicates

    You're welcome.

    Thank you for the feedback and rep.

  7. #7
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Re: Combine 2 Columns from 2 different sheets with keeping duplicates

    Hello John

    hanks for your reply, your formula saved my lot of repeated manual work

    thanks

+ 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. merging certain columns of duplicates while keeping the remainder of row unchanged
    By yllekkar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-27-2015, 03:33 PM
  2. Macro to combine multiple columns keeping few columns specific
    By lramesh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-16-2013, 12:44 PM
  3. Replies: 1
    Last Post: 02-13-2012, 08:08 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. Keeping duplicates within multiple columns
    By cobradaytona in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-13-2010, 05:08 PM
  6. Combine columns, removing duplicates
    By daviddoria in forum Excel General
    Replies: 6
    Last Post: 07-07-2009, 06:59 AM
  7. Combine Columns Leaving Only Duplicates
    By Darthmonkey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-31-2008, 11:39 AM

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