macro filter

  1. U

    VBA: Delete Rows Based on Criteria

    Hello Gurus, Good day! Could you possibly help me tweak the code below? Scenario is I have to delete the data that is below 500 including blanks and zeroes in Column E. Headers is located in Row A Sub DeleteRowIF() Dim zlr As Long zlr = ActiveSheet.UsedRange.rows.Count With Range("A2:AZ"...
  2. B

    Macro using cell value

    Hello all, I need help on this please. I need to use the value from cell (B5)'sheet1' in a filter on sheet2. When I record my macro I am copying and pasting the value of B5 over to sheet2 filter and then copying and pasting the results back over to sheet1. This is working but the problem is...
  3. T

    VBA filter grand total if blanks, if not skip filter

    Hello, I am trying to edit a macro with some pivot tables. I am extremely novice with VBA editing and I would be extremely appreciative of your help :-). The macro creates a pivot table and grand totals for monthly data. Sometimes the grand total must be adjusted with filters. At times I need...
  4. T

    Macro, skip filter command if fields aren't present in data and continue running macro

    Hello, I have data sets that need filtering in pivot tables in a macro. Sometimes the data has blanks and unwanted fields. How do I tell the macro to skip/bypass the filter command for unwanted said fields when the fields aren't present in the data and to continue running macro as normal...
  5. T

    Macro filter field, if field is not present, skip filter

    Hello,I have a MACRO that needs to filter out certain fields. However, the data won't always contain these fields. When these fields aren't present the macro errors out. How can the macro filter out these fields when they are present and just skip this command when they are not present...
  6. R

    Using VBA to update a Pivot Table filter based on the value in a cell

    Hello, I have a workbook with a tab (Individual) containing a cell (PT_Individual_ID), that is a specific customer ID, and 2 pivot tables which read a database contained in the second tab of the workbook. I want to be able to enter the customer ID and have the filters on the pivot tables update...
  7. M

    Macro to Filter Criteria Based on Table

    I am trying to filter out data based on specific data that changes based on location, I am trying to see if their is a way to adjust the filter code to use the data on a list I created as the filter criteria, once it has gone through the whole list it would continue with the rest of the macro...
  8. D

    basic macro help

    hi all i created a macro to run off of some filtered data, and copied a formula down, but when the data gets updated the now filtered rows do not match where i had copied the formula, so the formula is on rows that i do not want and is returning n/a's. is it possible to write a code that will...
  9. A

    Filtering out "0" in Table during Macro

    Hey all, I'm working on an inventory model for my company, but have hit a bit of a roadblock. I want the user to be able to fill in the number of bottles of wine we currently have, which is then subtracted from the number there ought to be, therefore leaving a difference which we need to...
  10. S

    Macro to filter based on lists

    <!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:TrackMoves/> <w:TrackFormatting/> <w:PunctuationKerning/> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent>...
  11. E

    Macro to Filter on a Date

    Problem: I need the date to be input by a user in a cell on one file, then have a column in a data file filtered for dates greater than or equal to that date. Any help is appreciated! :confused:

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top