+ Reply to Thread
Results 1 to 3 of 3

How to Concatenate start and last values of Rows based on Breaking of Sequence

  1. #1
    Registered User
    Join Date
    02-18-2014
    Location
    hyderabad
    MS-Off Ver
    Excel 2010
    Posts
    2

    How to Concatenate start and last values of Rows based on Breaking of Sequence

    Hi,

    I have some names in "Col A" and have some years with respect to "col A" in 'Col B".So from this,
    i need to concatenate years which in "col B" based on sequence w.r.t unique data in "Col A".


    For Eg: Peter Simpson 2004
    Peter Simpson 2005
    Peter Simpson 2006
    Alsup 2001
    Alsup 2003
    Saint Foyt 1979
    Saint Foyt 1980
    Saint Foyt 1981
    Saint Foyt 1983
    Mark Luberg 1983
    Mark Luberg 1984
    Mark Luberg 1986
    Mark Luberg 1987
    Mark Luberg 1988
    Mark Luberg 1990

    like this i have some 10000 records. so i want o/p to display years which are in sequence for data in "col A"
    as 2004-2006 and those years which are not in sequence kept them in separate columns.


    Finally o/p has to be like this------ Peter Simpson 2004-2006
    Alsup 2001 2003
    Saint Foyt 1979-1981 1983
    Mark Luberg 1983-1984 1986-1988 1990



    can anyone give me ideas?

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: How to Concatenate start and last values of Rows based on Breaking of Sequence

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    02-18-2014
    Location
    hyderabad
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: How to Concatenate start and last values of Rows based on Breaking of Sequence

    kk thanks for responding...Here i am attaching sample sheet, in that output i want data for first unique columns only...for all remaining duplicates it has to be blank.

    Thanks
    Attached Files Attached Files

+ 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] Formula to display sequence number based on contiguous start and end dates
    By AlanCake in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-04-2013, 07:37 AM
  2. Breaking down rows based on hours and days
    By Serdica in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-15-2013, 05:38 PM
  3. [SOLVED] Select a range of rows based on start row and end row being values in two worksheet cells
    By xlnube in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-18-2012, 08:41 PM
  4. Insert rows based on start/end values
    By JP Romano in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-09-2012, 10:41 PM
  5. Concatenate row values based on Column “A” merged rows
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-16-2011, 01:51 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