Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • How to reference named range different sheet in Excel
  • Get nth match with INDEX / MATCH in Excel
  • How to use Excel OFFSET function
  • How to get first row number in range in Excel
  • Perform case-sensitive Lookup in Excel

Data Analysis Examples

  • Conflicting Multiple Conditional Formatting Rules in Excel
  • Conditional Formatting Icon Sets Examples in Excel
  • Chart Axes in Excel
  • How to calculate correlation coefficient Correlation in Excel
  • How to Create Column Chart in Excel

Data Validation Examples

  • Data validation must not exist in list
  • Prevent invalid data entering in specific cells
  • Excel Data validation must not contain
  • Excel Data validation unique values only
  • How To Create Drop-down List in Excel

Advanced Filter in Excel

by

Filter setting using — And Criteria, Or Criteria or Formula as Criteria

This example teaches you how to apply an advanced filter in Excel to only display records that meet complex criteria.

When you use the Advanced Filter, you need to enter the criteria on the worksheet. Create a Criteria range (blue border below for illustration only) above your data set. Use the same column headers. Be sure there’s at least one blank row between your Criteria range and data set.

And Criteria

To display the sales in the USA and in Qtr 4, execute the following steps.

Worked Example:   Add Outline to Data in Excel

1. Enter the criteria shown below on the worksheet.

2. Click any single cell inside the data set.

3. On the Data tab, in the Sort & Filter group, click Advanced.

4. Click in the Criteria range box and select the range A1:D2 (blue).

5. Click OK.

Notice the options to copy your filtered data set to another location and display unique records only (if your data set contains duplicates).

Result.

No rocket science so far. We can achieve the same result with the normal filter. We need the Advanced Filter for Or criteria.

Or Criteria

To display the sales in the USA in Qtr 4 or in the UK in Qtr 1, execute the following steps.

Worked Example:   How to Sort by Color in Excel

6. Enter the criteria shown below on the worksheet.

7. On the Data tab, in the Sort & Filter group, click Advanced, and adjust the Criteria range to range A1:D3 (blue).

8. Click OK.

Result.

Formula as Criteria

To display the sales in the USA in Qtr 4 greater than $10.000 or in the UK in Qtr 1, execute the following steps.

Worked Example:   Reverse List in Excel

9. Enter the criteria (+formula) shown below on the worksheet.

10. On the Data tab, in the Sort & Filter group, click Advanced, and adjust the Criteria range to range A1:E3 (blue).

11. Click OK.

Result.

Note: always place a formula in a new column. Do not use a column label or use a column label that is not in your data set. Create a relative reference to the first cell in the column (B6). The formula must evaluate to TRUE or FALSE.

Post navigation

Previous Post:

Understanding Anova in Excel

Next Post:

Offset in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others
  • NUMBERVALUE function: Description, Usage, Syntax, Examples and Explanation
  • How to Capitalize first letter in a sentence in Excel
  • Join Text Strings Using Concatenate or ‘& Operator’ in Excel
  • How to create email address from name in Excel
  • CODE function: Description, Usage, Syntax, Examples and Explanation
  • Series of dates by day
  • MONTH function: Description, Usage, Syntax, Examples and Explanation
  • Convert time to time zone in Excel
  • TIME function: Description, Usage, Syntax, Examples and Explanation
  • Count day of week between dates in Excel
  • RATE function: Description, Usage, Syntax, Examples and Explanation
  • Calculate payment for a loan in Excel
  • How to calculate principal for given period in Excel
  • How to Calculate Tax Rates in Excel
  • PRICE function: Description, Usage, Syntax, Examples and Explanation
© 2022 xlsoffice . All Right Reserved. | Teal Smiles