Consulting

Results 1 to 5 of 5

Thread: Extract rows of data based on a criteria

  1. #1
    VBAX Regular
    Joined
    May 2017
    Posts
    28
    Location

    Extract rows of data based on a criteria

    I want to extract all rows that do not = 0 from the below table and want to extract to a different location. Would like to use formulas to setup a spreadsheet to have an employee use on a monthly basis so it is very simple for the employee to use.


    Account # Account Descript Amount
    1.500100 Building Maintenance 0
    1.500137 Building Damage Repair 0
    1.500400 Painting 0
    1.500705 Plumbing/Sewer 10.5
    1.501000 Electrical 0
    1.501310 Lighting 127.27
    1.501450 Carpet Cleaning 0
    1.501805 Balconies/Decks 0
    1.502100 Roof 0
    1.502505 Gutters 1050.75

  2. #2
    VBAX Mentor 大灰狼1976's Avatar
    Joined
    Dec 2018
    Location
    SuZhou China
    Posts
    479
    Location
    Hi Bob789!
    for example used AdvancedFilter.
    Attached Files Attached Files

  3. #3
    VBAX Regular
    Joined
    May 2017
    Posts
    28
    Location
    Hi,

    My system administrator does not allow the opening of spreadsheets. Can you just copy the information to the body of the email and send it to me that way and I can view it as text there. Thank you.

  4. #4
    VBAX Mentor 大灰狼1976's Avatar
    Joined
    Dec 2018
    Location
    SuZhou China
    Posts
    479
    Location
    it's very slow to open the website today, I'll reply you later.

  5. #5
    VBAX Mentor 大灰狼1976's Avatar
    Joined
    Dec 2018
    Location
    SuZhou China
    Posts
    479
    Location
    Private Sub CommandButton1_Click()
    [a1].CurrentRegion.AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=[e1:e2], CopyToRange:=[i1]
    End Sub
    picture.jpg

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •