+ Reply to Thread
Results 1 to 5 of 5

How to separate duplicate categories with a blank row

  1. #1
    Registered User
    Join Date
    12-16-2012
    Location
    Rancho Cucamonga, CA
    MS-Off Ver
    Excel 2010
    Posts
    4

    How to separate duplicate categories with a blank row

    Ok this may be a simple task but I have a list of names some being duplicates however I wanted to know if there was any way to insert a blank row between each different name after alphabetizing everything in the first column. It would be similar to this:

    Smith
    Smith
    Smith
    Thomas
    Thomas
    Walker
    Walker

    And I need it to look like this

    Smith
    Smith
    Smith
    *blank row*
    Thomas
    Thomas
    *blank row*
    Walker
    Walker

    I have about 20k rows so going 1 by 1 would take forever. Any help would be much appreciated. Thank you.

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: How to separate duplicate categories with a blank row

    Hi

    Try this macro:


    sepdupcategories.xlsm
    Click *, if my suggestion helps you. Have a good day!!

  3. #3
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: How to separate duplicate categories with a blank row

    Hi this2willpass
    Try this code
    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  4. #4
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    818

    Re: How to separate duplicate categories with a blank row

    Or:
    One loop less, and to row A1.
    Please Login or Register  to view this content.
    Kind regards, Harry.

  5. #5
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: How to separate duplicate categories with a blank row

    Another

    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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