Skip to content

Filter Data, Advanced Filter, Subtotal, Data Form, Remove Duplicates, Outlining Data, SUBTOTAL function, Unique Values, UNIQUE function, FILTER function

Notifications You must be signed in to change notification settings

Kuba27x/Excel-14

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“Š Excel-14

Status Excel

โœจ Project Description

Excel-14 is a guide to advanced data handling features in Microsoft Excel.
Here you'll find step-by-step instructions, tips, and 47 illustrative screenshots covering:

  • Filtering data
  • Advanced Filter (including AND/OR logic and formulas)
  • Data Form
  • Remove Duplicates
  • Outlining Data and Subtotals
  • SUBTOTAL function
  • Unique Values (UNIQUE function)
  • FILTER function

๐Ÿ“š Goal: Help you manage, clean, and analyze data in Excelโ€”using built-in tools and modern dynamic formulas!


๐Ÿ“’ Table of Contents


๐Ÿ”Ž Filter Data

Excel makes it easy to filter data and display only what you need:

  1. Click any cell inside your dataset.
  2. On the Data tab, in the Sort & Filter group, click Filter.

screenshot

Arrows in the column headers appear.

  1. Click the arrow next to Country.
  2. Click on Select All to clear all checkboxes, then check USA.

screenshot

  1. Click OK.

Result: Only sales from the USA are displayed.

screenshot

  1. Click the arrow next to Quarter.
  2. Again, clear all checkboxes, and check Qtr 1.

screenshot

  1. Click OK.

Now, only sales from USA in Qtr 1 are shown.

screenshot

To remove filters, use the Clear button on the Data tab.
To remove arrows, click Filter again.

screenshot

โฉ Quick Filtering

  • Select a cell.
  • Right-click โ†’ Filter โ†’ Filter by Selected Cell's Value.

screenshot


๐Ÿ”ข Number and Text Filters

Apply filters based on numbers or text:

  1. Click any cell in the dataset.
  2. Data tab โ†’ Filter (arrows appear).

To filter numbers:

  1. Click the arrow next to Sales.
  2. Choose Number Filters โ†’ Greater Than.

screenshot

  1. Enter 10,000 and click OK.

screenshot

Result: Only records with Sales > $10,000.

screenshot

To filter text:

  1. Clear previous filters (Data โ†’ Clear).
  2. Arrow next to Last Name โ†’ Text Filters โ†’ Equals.

screenshot

  1. Enter ?m* and click OK.

screenshot

? matches one character, * matches any number of characters.

Result: Only records where the second character of Last Name is "m".

screenshot


๐Ÿ“… Date Filters

  1. Click any cell inside your dataset.
  2. Data tab โ†’ Filter.
  3. Arrow next to Date.
  4. Clear all, expand 2021, check May.

screenshot

  1. Click OK.

Result: Only sales from May 2021.

screenshot

To filter for "Last Year":

  1. Select all, then Date Filters โ†’ Last Year.

screenshot

Result: Sales from last year.

screenshot

Many date filters depend on today's date.


๐Ÿงฎ Advanced Filter

Advanced Filter lets you use more complex criteria (AND/OR, formulas).

AND Criteria

To show sales in USA AND Qtr 4:

  1. Enter criteria.
  2. Select any cell in dataset.
  3. Data tab โ†’ Advanced.

screenshot

  1. Set Criteria range to A1:D2.

screenshot

  1. Click OK.

Result:

screenshot

This could be done with normal filter, but Advanced Filter is required for OR or formula criteria.

OR Criteria

Show sales for USA in Qtr 4 OR UK in Qtr 2:

  1. Enter criteria.
  2. Data tab โ†’ Advanced, set Criteria range to A1:D3.

screenshot

  1. Click OK.

Result:

screenshot

Formula as Criteria

Show sales for USA in Qtr 4 OR UK in Qtr 2, but only if Sales > $10,000:

  1. Enter criteria (e.g., formula: =B6>10000) on worksheet.
  2. Data tab โ†’ Advanced, set Criteria range to A1:E3.

screenshot

  1. Click OK.

Result:

screenshot

Place formulas in a new column, not labeled as in your dataset. Use relative references.


๐Ÿ—ƒ๏ธ Data Form

Excelโ€™s Data Form lets you add, edit, delete, and search recordsโ€”great for wide tables.

To enable:

  1. Add Form command to Quick Access Toolbar:
    • Click down arrow โ†’ More Commands
    • Choose "Commands Not in the Ribbon"
    • Select Form and click Add

screenshot screenshot screenshot

  1. Click OK. Now Form is on your toolbar.

screenshot

To use:

  1. Select any cell, click Form.

screenshot

Use Find Prev/Next to browse records.
Use New or Delete to add/remove records.
Use Restore to undo changes.

To search by criteria:

  1. Click Criteria.

screenshot

  1. Enter criteria and click Form.

Now only records matching criteria appear when using Find Prev/Next.

screenshot


๐Ÿšซ Remove Duplicates

Quickly remove duplicate rows:

  1. Select any cell in dataset.
  2. Data tab โ†’ Data Tools group โ†’ Remove Duplicates.

screenshot

Result: All identical rows (except the first) are removed.

screenshot

To keep duplicates but extract unique rows, use Advanced Filter.


๐Ÿ“ Outlining Data

Outlining helps organize and summarize data:

  1. Sort data by Company.

screenshot

  1. Data tab โ†’ Outline group โ†’ Subtotal.

screenshot

  1. Select Company column, Count function, check Company.

screenshot

  1. Click OK.

Result:

screenshot

To collapse/expand groups, use minus signs or level numbers.

screenshot

Remove outline: Data tab โ†’ Outline group โ†’ Subtotal โ†’ Remove all.


โž• SUBTOTAL function

Use SUBTOTAL instead of SUM/COUNT/MAX to ignore filtered/hidden rows.

SUM counts all rows; SUBTOTAL ignores those hidden by filter.

screenshot

Argument 109 = SUM for SUBTOTAL. Use Excelโ€™s autocomplete to see function numbers.


๐Ÿ”„ Automatic Subtotals

Create a table, add a total row at the bottom:

  1. Filter by Country.
  2. Add total row: Table Design โ†’ Total Row.

screenshot screenshot

Second way: Data tab โ†’ Outline group โ†’ Subtotal.


๐Ÿงฉ Unique Values

With Excel 365/2021, use UNIQUE to extract unique values:

Basic UNIQUE formula:

screenshot

UNIQUE for values that occur only once:

screenshot

UNIQUE takes 2 optional arguments:

  • 2nd arg: 0 = vertical array.
  • 3rd arg: 1 = only items that occur once.

If you donโ€™t have Excel 365/2021, use Advanced Filter for unique values.


๐Ÿงน FILTER function

Excel 365/2021: Use FILTER for powerful criteria-based extraction.

Filter all USA records:

screenshot

Filter where Sales > $10,000 AND Country = USA:

screenshot

Filter where Last Name = "Smith" OR "Williams":

screenshot

Sort records with SORT:

screenshot


๐Ÿ“ท Screenshots

All 47 screenshots referenced above are available in the /Screenshots folder.


โ„น๏ธ Requirements

  • Microsoft Excel (recommended: 2021/365 for modern formulas)
  • Windows OS (for some features like Data Form command)

๐Ÿ‘จโ€๐Ÿ’ป Author

Project and documentation by Kuba27x
Repository: Kuba27x/Excel-14


About

Filter Data, Advanced Filter, Subtotal, Data Form, Remove Duplicates, Outlining Data, SUBTOTAL function, Unique Values, UNIQUE function, FILTER function

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published