+ Reply to Thread
Results 1 to 4 of 4

Auto concatenate and reverse concatenate & Remove duplicates .

  1. #1
    Registered User
    Join Date
    08-13-2016
    Location
    india
    MS-Off Ver
    2010
    Posts
    61

    Auto concatenate and reverse concatenate & Remove duplicates .

    We have a workbook in which there are 2 sheets - "CP + Party" & "Auto update"
    So everyday the used rows in sheet "CP + Party" changes, depending on used rows count in "CP + Party" we need to apply a straight Concatenate formula in "Auto update" sheet starting from cell A2, As =CONCATENATE('CP + Party'!B2,'CP + Party'!C2).
    In the attached example workbook the used rows in "CP + Party" sheet are 301 rows(Including header), so in "Auto update" sheet we need apply straight Concatenate formula until row 301 and starting from row 302 we need to reverse the Concatenate formula as =CONCATENATE('CP + Party'!C2,'CP + Party'!B2) text 1 and text 2 are flipped & pull it until row 601 (601 row because the used rows are 301 in "CP + Party" so we are doubling the count to get complete reverse concatenate data ).

    Once the above is done we can remove the duplicates in "Auto update" sheet Column A.

    I have tried doing this myself with the help of google codes , but tricky part is finding a logic to reverse the concatenate formula range based on row count in "CP + Party" sheet, Help in need, please help.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Auto concatenate and reverse concatenate & Remove duplicates .

    Hello
    Try the following macro, I believe it does what you require if I've understood correctly:

    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Auto concatenate and reverse concatenate & Remove duplicates .

    Same result, bit faster

    Please Login or Register  to view this content.
    Kind regards
    Leo

  4. #4
    Registered User
    Join Date
    08-13-2016
    Location
    india
    MS-Off Ver
    2010
    Posts
    61

    Re: Auto concatenate and reverse concatenate & Remove duplicates .

    Thank you both DBY and LeoTaxi, it worked with 100% perfection.

+ 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: 0
    Last Post: 06-30-2015, 06:42 PM
  2. [SOLVED] Need to concatenate cells and remove duplicates
    By jdcooper88 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-23-2014, 03:54 PM
  3. Superformula to remove duplicates, Sum, vlookup and concatenate
    By aleighto in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-03-2013, 11:53 AM
  4. Reverse Concatenate
    By DukeJCDC in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-24-2011, 11:23 AM
  5. concatenate, sum, and remove duplicates
    By jmerry1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-25-2011, 10:31 AM
  6. Reverse Concatenate?
    By rs56369 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-18-2008, 03:54 PM
  7. [SOLVED] reverse of concatenate
    By S.G.Pillai in forum Excel General
    Replies: 4
    Last Post: 11-01-2005, 09:05 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