Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Filters | Excel Automation with Python
Excel Automation with Python
course content

Course Content

Excel Automation with Python

bookFilters

auto_filter() is a method provided by the openpyxl library in Python that allows you to create a filter on a range of cells in a worksheet. The auto_filter.ref() method takes parameters specifying the starting and ending cells of the range and the criteria for the filter, such as a range of values or a text string.

Now, you know how to specifie the area where the filter should be applied.

Task
test

Swipe to show code editor

  1. Define a filter from cell "A1" to "0100";
  2. Save the workbook.

Mark tasks as Completed
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

auto_filter() is a method provided by the openpyxl library in Python that allows you to create a filter on a range of cells in a worksheet. The auto_filter.ref() method takes parameters specifying the starting and ending cells of the range and the criteria for the filter, such as a range of values or a text string.

Now, you know how to specifie the area where the filter should be applied.

Task
test

Swipe to show code editor

  1. Define a filter from cell "A1" to "0100";
  2. Save the workbook.

Mark tasks as Completed
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 8
AVAILABLE TO ULTIMATE ONLY
We're sorry to hear that something went wrong. What happened?
some-alt