Function Problems

How to Organize Excel Tasks by Priority Using the FILTER Function

Maira MehtabMaira Mehtab Nov 10, 2026 869 views

Question details

The user needs to organize a master list of tasks into separate columns based on specific priority codes (like high, medium, and low) using dynamic array formulas.

How to Organize Excel Tasks by Priority Using the FILTER Function
Product
Excel
Device & OS
not provided
Scenario
Sorting and managing a project task list where tasks are assigned a priority code, and extracting them dynamically into dedicated columns.
Observed behavior
Tasks are currently mixed in a single list and need to be cleanly separated into distinct columns based on priority codes using functions, followed by color-coding.
Before you start

Ensure your task list has a dedicated column for priority codes (e.g., 'C' for High, 'D' for Medium, 'E' for Low) so the formula has a precise criteria range to evaluate.

Solution 1Recommended

Use the FILTER Function to Separate Tasks

Extract tasks dynamically into separate columns based on priority codes using Excel's FILTER function.

The FILTER function is a dynamic array formula that allows you to easily extract data based on specific criteria. By setting up a formula for each priority level, tasks will automatically populate in the correct columns.

1
Identify your data ranges

Locate the column containing your task names (e.g., B4:B20) and the column containing your priority codes (e.g., C4:C20).

2
Enter the formula for High Priority

Click on the top cell of the column where you want High Priority tasks to appear. Type =FILTER(B4:B20, C4:C20="C") and press Enter. Replace 'C' with your actual high-priority code.

3
Repeat for other priorities

In the Medium Priority column, enter =FILTER(B4:B20, C4:C20="D"). In the Low Priority column, enter =FILTER(B4:B20, C4:C20="E").

4
Apply conditional formatting

Highlight the filtered task results, go to the Home tab, click Conditional Formatting, and set up 'Highlight Cells Rules' to color-code the tasks red, orange, or yellow based on their priority text.

Use the FILTER Function to Separate Tasks
Dynamic Updates: As you add new tasks or change priority codes in your master list, the filtered columns will update automatically.
Manage Tasks Efficiently in WPS

Organize and Filter Tasks Seamlessly with WPS Office

WPS Spreadsheet fully supports dynamic array formulas, including the FILTER function, allowing you to easily organize and color-code your task lists by priority without paying expensive subscriptions.

  1. 1. Open your task list: Launch WPS Spreadsheet and open the workbook containing your master task list.
  2. 2. Select the target cell: Click the topmost cell in the column where you want to display the specific priority.
  3. 3. Apply the FILTER formula: Type the formula =FILTER(task_range, priority_range="Code") and press Enter.
  4. 4. Format your results: Use the Conditional Formatting tool in the Home tab to add priority-based colors to your dynamically filtered list.
Full support for advanced dynamic array functions like FILTER, SORT, and UNIQUE.100% compatible with Microsoft Excel (.xlsx) formulas, conditional formatting, and layouts.Built-in robust conditional formatting to easily color-code your priority tasks.Free, lightweight, and cross-platform for seamless project management anywhere.
microsoft office alternative - wps office

Frequently Asked Questions

Why is my FILTER formula returning a #CALC! error?

The #CALC! error occurs when the FILTER function finds no matching records (e.g., you have no tasks assigned to that specific priority). You can prevent this error by adding the optional [if_empty] argument, like this: =FILTER(B4:B20, C4:C20="C", "No tasks found").

Can I filter tasks by multiple priorities at the same time?

Yes. You can use the plus sign (+) as an OR logic operator in your criteria. For example, to filter tasks that are either priority C or D, use the formula: =FILTER(B4:B20, (C4:C20="C")+(C4:C20="D")).

How do I filter data from another worksheet?

You can reference another sheet in your FILTER formula by clicking on the sheet tab while writing the formula or by typing the sheet name manually. For example: =FILTER(Sheet1!B4:B20, Sheet1!C4:C20="C").