+ Reply to Thread
Results 1 to 2 of 2

Sort categories into order, check for missing categories, and insert blank row for them

  1. #1
    Registered User
    Join Date
    05-14-2013
    Location
    Hong Kong
    MS-Off Ver
    Excel 2010
    Posts
    5

    Sort categories into order, check for missing categories, and insert blank row for them

    I have a grave problem with a data set and they looks like this.

    Jewel A
    Jewel B
    Jewel C
    Jewel F

    Jewel A
    Jewel C
    Jewel K
    Jewel G
    Jewel F

    Jewel F
    Jewel K

    Steps need to perform:
    1. I need to sort them out in order. For each of the above groups, sort them into order, i.e. Jewel A-Z.
    2. Search for missing categories, e.g. in group 1, Jewel D and Jewel E, and Jewel G-Z is missing.
    3. Insert a blank row for each of the missing values.

    I have googled all day and found something similar without using VBA (http://www.oleksiygayda.com/2011/03/...=1368608500584), but ran into a problem with that solution as I always end up deleting the rows with useful information.

    Any help would be greatly appreciated!
    Last edited by heidilaw4; 05-15-2013 at 05:08 AM.

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Sort categories into order, check for missing categories, and insert blank row for the

    Try this:-
    Results start "B1".
    NB:- You can alter "B1" to "A1" (At bottom of code) to overwrite the data if required.
    Please Login or Register  to view this content.
    Regards Mick

+ 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