+ Reply to Thread
Results 1 to 3 of 3

Remove lines from spreadsheet that have the value 0

  1. #1
    Registered User
    Join Date
    04-29-2005
    Posts
    8

    Remove lines from spreadsheet that have the value 0

    Hi!

    I have enclosed 3 pictures with my question.
    1. Is where the user is putting in data.
    2. Is a spreadsheet with the data choosen from the action of the user, but it is containing also the non-choosen data from the input spreadsheet.
    3. IS how I want the data shown to me either automatic or thru a macro.

    So is there any code like IF or some Macro who would make this happen?

    What I want at the end of the day is a list of products that the user have put in and nothing else, with the QTY and price and the sum of that.

    I would be glad if somebody couød help me or send me in the right direction!

    ZZ

    UserInput.jpg

    CopyDataSheet.jpg

    Wanted.jpg
    Last edited by ZorroZ; 10-27-2009 at 08:17 PM. Reason: it is solved

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Remove lines from spreadsheet that have the value 0

    You can filter this table in place.

    1) Click on row 2 and activate the DATA > FILTER > AUTOFILTER.
    2) Click on row E's drop down and select CUSTOM
    3) Use Greater than - zero

    This give you the appearance of your Wanted.jpg without having to delete anything.

    If you want to actually delete them, then:

    1) Click on row 2 and activate the DATA > FILTER > AUTOFILTER.
    2) Click on row E's drop down and select ZERO (this will show all rows with zero)
    3) Highlight all the visible rows and delete them
    4) Turn off the AUTOFILTER and the remaining rows will reappear just like your Wanted.jpg
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    04-29-2005
    Posts
    8

    Re: Remove lines from spreadsheet that have the value 0

    Hi!

    Thanks a lot!

    Now I got what I wanted and I also made a Macro to do that automatic when I open that spreadsheet page.

    This made my night! LOL


    :-)

    ZZ

+ 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