Skip to content
- VBA AutoFilter Dynamic Range: A Reliable SetupTo apply VBA AutoFilter to a range that changes size, calculate the range’s last row (and, if needed, last column) before calling…VBA & macros
- Excel Pivot Table Range: How to Set, Change, and Fix RangesAn Excel PivotTable range is the set of source cells the PivotTable reads, including the column headers and all rows of data.…Charts & pivot tables
- VBA AutoFilter Date: Filter Dates ReliablyTo filter dates with VBA, apply AutoFilter to a range that includes its header row, then set date criteria on the date…VBA & macros
- Excel Pivot Table: Put Row Fields Side by SideTo put PivotTable row fields next to each other in separate columns, select the PivotTable and choose Design > Report Layout >…Charts & pivot tables
- VBA AutoFilter Criteria1: Syntax, Examples & Tips in ExcelIn VBA, Criteria1 is the first filter condition passed to Excel’s AutoFilter method; for example, Criteria1:="East" keeps rows whose selected field contains…VBA & macros
- VBA AutoFilter Criteria Not Equal: How to Use ItTo filter out a value with VBA AutoFilter, pass a not-equal criterion such as "<>Closed" to the field you want to filter:…VBA & macros
- Excel Pivot Table: Percentage of Two ColumnsTo show one PivotTable column as a percentage of another in Excel for Microsoft 365 on Windows, add the value field to…Charts & pivot tables
- VBA AutoFilter Criteria Array: Syntax and ExamplesTo filter a field for several allowed values in VBA, pass a Variant array to Criteria1 and set Operator:=xlFilterValues. For example, dataRange.AutoFilter…VBA & macros
- Excel Pivot Table Percentage of Total: How to Show ItTo show Excel PivotTable values as a percentage, right-click a value in the PivotTable and choose Show Values As, then select %…Charts & pivot tables
- VBA AutoFilter Criteria: Examples and Common FixesIn VBA, AutoFilter criteria are the conditions you pass to the AutoFilter method to show matching rows. For example, use Criteria1:="West" to…VBA & macros
- Excel Pivot Table Options: Settings, Layouts, and AnalysisExcel PivotTable options let you control how a summary is arranged, calculated, filtered, refreshed, and displayed. In Microsoft 365 for Windows, select…Charts & pivot tables
- VBA AutoFilter Count: Count Visible Rows in ExcelTo count data rows visible after an Excel AutoFilter, count the visible cells in one column of the filter’s data range, excluding…VBA & macros
- Excel Pivot Table: Show Unique Values Without RepeatsYes. To show each distinct item once in an Excel PivotTable, drag its field into the Rows area; Excel groups matching labels…Charts & pivot tables
- Excel Pivot Table Not Updating? Fix It Step by StepIf an Excel PivotTable is not updating, click inside it and select PivotTable Analyze > Refresh; to refresh all PivotTables and workbook…Charts & pivot tables
- VBA AutoFilter: How to Filter Cells and Rows in ExcelIn Excel VBA, use the AutoFilter method on a range that includes the header row to filter records by a column’s value.…VBA & macros
- Excel Pivot Table Not Sorting Correctly? Fix ItIf an Excel PivotTable is not sorting correctly, first choose the field and sort direction you actually want: right-click a row label…Charts & pivot tables
- Excel Pivot Table Not Showing All Data? Causes and FixesIf an Excel PivotTable is missing data, first check that its source range includes every record, then refresh it and clear any…Charts & pivot tables
- VBA AutoFilter Off: Remove Arrows or Clear FiltersTo show every row while keeping the filter controls, use VBA’s ShowAllData method when the worksheet is filtered. To remove worksheet AutoFilter…VBA & macros
- VBA Assign String to Variable: Syntax and ExamplesTo assign text to a VBA variable, declare it as a string with Dim and use the equals sign: message = "Hello".…VBA & macros
- Excel Pivot Table Not Refreshing? Fix the Source and CacheIf an Excel PivotTable is not refreshing, select a cell inside it and choose PivotTable Analyze > Refresh; for every PivotTable and…Charts & pivot tables
- VBA Assign Range to a Variable: Examples and TipsTo assign an Excel range to a VBA variable, declare the variable as a Range and use Set: Dim rng As Range,…VBA & macros
- VBA Assign Range: Set, Select, and Reference CellsTo assign a cell range to a VBA variable, declare the variable as a Range and use Set, for example: Set rng…VBA & macros
- Excel Pivot Table Not Recognizing Dates? How to Fix ItIf an Excel PivotTable is not recognizing dates, first check whether the source cells contain real Excel date values rather than text;…Charts & pivot tables
- Excel Pivot Table Not Pulling All Data? Fix ItIf an Excel PivotTable is missing rows, first refresh it, then check whether its data source includes those rows and whether a…Charts & pivot tables
- VBA Array of Numbers: How to Declare and Work With OneIn VBA, an array of numbers stores multiple numeric values under one variable name; declare one with a numeric type, such as…VBA & macros
- Excel Pivot Table: Move a Row Field to Column LabelsTo move a row field to columns in an Excel PivotTable, click inside the PivotTable, open PivotTable Analyze > Field List, then…Charts & pivot tables
- VBA Array Notation: Syntax, Bounds, and ExamplesIn VBA, declare an array with parentheses after its name, such as Dim scores(1 To 5) As Long, and refer to an…VBA & macros
- Excel Pivot Table Min and Max Values: How to Show ThemTo show a minimum or maximum in an Excel PivotTable, put a numeric or date field in the Values area, right-click one…Charts & pivot tables
- VBA Array Function: Syntax, Examples, and GotchasIn VBA, the Array function creates an array of values and returns it inside a Variant. Assign the result to a Variant…VBA & macros
- Excel Pivot Table Manual Sort: Drag Items into OrderTo manually sort items in an Excel PivotTable, right-click an item label, choose Sort > More Sort Options, select Manual, and click…Charts & pivot tables