+ Reply to Thread
Results 1 to 4 of 4

Inserting blank lines to separate data based on one of the column contents.

  1. #1
    Registered User
    Join Date
    03-13-2012
    Location
    Atlanta GA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Post Inserting blank lines to separate data based on one of the column contents.

    I have a master list of employee data that I need to manipulate. Each employee works in a specified area and I need to generate the master list and have the data separated automatically by a blank line based on the job description in column O and count the number in that area. I have no knowledge of VBA. Is there any way I can do this in excel 2003 automatically? I do work with macros, would that work? I have attached a sample of what the raw data looks like and what I need it to look like. Any help you can give me would be greatly appreciated.
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Inserting blank lines to separate data based on one of the column contents.

    This is exactly the work of "Subtotals". Go to Data-> Subtotals. Choose the following options -

    At each change in : HCES ORG NAME
    Use function: Count
    Add Subtotal To: HCES ORG NAME

    Select the 1st & 3rd checkbox for Replace current subtotals & Summary below data respectively.

    Click on OK. Thats it.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    03-13-2012
    Location
    Atlanta GA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Inserting blank lines to separate data based on one of the column contents.

    Is there anyway to do that automatically?

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Inserting blank lines to separate data based on one of the column contents.

    You can use this code.
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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