+ Reply to Thread
Results 1 to 7 of 7

Removing blank rows to create list

  1. #1
    Registered User
    Join Date
    07-15-2010
    Location
    San Francisco, CA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Removing blank rows to create list

    I have two columns of data. The first is a list of companies, the second is a category, which may be blank. Example:

    Company A - Category 1
    Company B - Category 2
    Company C - (blank)
    Company D - Category 2

    I want to create a new list that returns only on of the specified categories CONSECUTIVELY, ignoring blanks. So if I wanted only Company names with Category 2, I want the first cell in the new list to return "Company B" and the second to return "Company D", with NO row in between the two. Any way to do this WITHOUT a macro?

    Thanks

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097

    Re: Help removing blank rows to create list

    Ho,

    Welcome to the forum, does this help?
    Attached Files Attached Files
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    07-15-2010
    Location
    San Francisco, CA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Help removing blank rows to create list

    Thanks, this is helpful, but I was hoping there was some way to do it in an automated fashion (i.e. a formula so I dotn have to use filtering)

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Help removing blank rows to create list

    try this helper column on helper sheet
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Forum Contributor
    Join Date
    07-08-2009
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003
    Posts
    142

    Re: Removing blank rows to create list

    Hi,

    select the column which has blank cells.
    Click GOTO. >> special >> select Blank
    all the blank cells will be selected.
    Click on any of teh blank ( selected ) cell.
    opt for deleting the entire row..

    Thanks
    Shadmani

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Removing blank rows to create list

    Shadmani
    did you not read post#3?

  7. #7
    Registered User
    Join Date
    07-15-2010
    Location
    San Francisco, CA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Removing blank rows to create list

    Awesome! thanks martin. Works great

+ 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