+ Reply to Thread
Results 1 to 2 of 2

Deleting "0" rows

  1. #1
    Registered User
    Join Date
    12-10-2007
    Location
    Trondheim, Norway
    Posts
    89

    Deleting "0" rows

    Hi.

    I have a sheet (travelstat.xls) that gets data from underlaying subsheets (line_1.xls, Line_2.xls....etc.. ). The number of rows in the subsheet will not be constant, so I have made enough rows in the travelsheet to be sure it would not overwrite cells. This gives med many blank rows that I have to delete manualy after the subsheets are linked. Is it possible to have a formula that check for "0" rows and delete them? See attachment for more details.

    Thanks for any help

    Elad
    Norway
    Attached Files Attached Files

  2. #2
    Forum Contributor mubashir aziz's Avatar
    Join Date
    03-18-2009
    Location
    Lahore, Pakistan
    MS-Off Ver
    MS Office 2013
    Posts
    533

    Re: Deleting "0" rows

    With combination of AutoFilter & Goto Command you can do the trick ......Insert a blank Row in above of your sheet and in cell enter the below formula ......

    G1=IF(OR(ISBLANK(A2:F2),ISNONTEXT(A2:F2)=0),"0","HI")
    this is array formula and don't forget to press Ctrl + Shift + Enter after entering the formula ...

    Now use auto filter and select 0 ......
    Press F5 > Special > Select Visible Cells Only ...Press OK
    Now Go in Edit and Select delete rows .... All the blank rows and rows having 0 values will be deleted ......
    If this post helps, Please don't 4get to click the star icon located at the bottom left of my Post.

+ 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