+ Reply to Thread
Results 1 to 4 of 4

how to delete lines

  1. #1
    Registered User
    Join Date
    03-16-2012
    Location
    Porto, Portugal
    MS-Off Ver
    Excel 2007, 2010
    Posts
    27

    how to delete lines

    Good night

    I would like to know which formula shall I have to write in order to delete lines whose sum is zero (0).

    Thank you

    José Macedo

  2. #2
    Forum Contributor
    Join Date
    01-28-2010
    Location
    Riverside, CA
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: how to delete lines

    I don't think there is a formula that can delete rows, but you can create another column with a SUM function.

    Afterwards, use a filter on that column to only show zero values. Then you can just select the rows and delete them.
    Happy Excel'ing!

  3. #3
    Registered User
    Join Date
    03-16-2012
    Location
    Porto, Portugal
    MS-Off Ver
    Excel 2007, 2010
    Posts
    27

    Re: how to delete lines

    Thanks
    I have already create a column with sum and I have used already that filter. However, in other foruns there are some references to a formula using more or less this:
    =and(isnumber(a1), sum(b1:E1)=0
    Do you know these formulas?
    Thank you very much again
    Jose
    Jos? Ant?nio Macedo
    University of Porto, Portugal

  4. #4
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: how to delete lines

    Do actually delete a line you would need to use VBA there is no excel formula that can invoke the delete command.

+ 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