Formula Errors

How to Automatically Populate Completed Tasks on Another Excel Sheet

Jason MillerJason Miller Nov 10, 2026 870 views

Question details

The user wants to automatically pull and display rows from a task tracking sheet into a new sheet when the status is marked as 'COMPLETE'.

How to Automatically Populate Completed Tasks on Another Excel Sheet
Product
Excel
Device & OS
not provided
Scenario
Generating formulas to return data from another worksheet based on a specific text condition.
Observed behavior
The original formula returns a #NAME? error due to improperly mixed R1C1 references, structured-reference syntax, and misplaced @ operators.
Before you start

Verify that your workbook is set to the standard A1 reference style and ensure your column headers exactly match the text criteria you are trying to filter, such as 'COMPLETE'.

Solution 1Recommended

Use INDEX and AGGREGATE with Standard A1 References

Extract specific rows matching a condition without using dynamic arrays by combining INDEX, AGGREGATE, and standard A1 references.

The #NAME? error often occurs when invalid syntax like an inappropriate @ symbol or an R1C1 reference is placed within a standard A1 formula. Using standard A1-style referencing is the best way to ensure compatibility and correct execution.

1
Clean up formula syntax

Remove any misplaced `@` symbols and R1C1 syntax markers (like R[1]C[1]) from your original formula. The `@` symbol is strictly for structured table references.

2
Select the target cell

Click on the cell in your new sheet where you want the first populated task's data to appear.

3
Enter the INDEX and AGGREGATE formula

Type the formula: `=IF(COUNTIF('DevOps Tasks'!C:C,"COMPLETE")>=1,INDEX('DevOps Tasks'!B:B,AGGREGATE(15,6,ROW('DevOps Tasks'!C:C)/('DevOps Tasks'!C:C="COMPLETE"),1)),"")`. Note that the final '1' indicates the first matching row. If you are targeting the fourth completed task, change the trailing '1' to '4'.

4
Apply formula to subsequent rows

Press Enter to execute the formula. You can manually adjust the 'k' value in the AGGREGATE function (the final number) for each subsequent row you want to pull, or use the ROW() function to increment it automatically when dragging down.

Use INDEX and AGGREGATE with Standard A1 References
Easily Manage Task Sheets

Automate Task Tracking with WPS Spreadsheet

WPS Office Spreadsheet fully supports advanced array formulas, INDEX, AGGREGATE, and dynamic FILTER functions to help you automate task management and populate data across multiple sheets effortlessly.

  1. 1. Open your workbook: Launch WPS Spreadsheet and open the file containing your task tracking sheets.
  2. 2. Navigate to the target sheet: Switch to the sheet where you want the completed tasks to be automatically populated.
  3. 3. Insert the dynamic formula: Click on the cell and input your INDEX/AGGREGATE or FILTER formulas exactly as you would in Excel.
  4. 4. Calculate and save: Press Enter to instantly populate your completed tasks across the sheet, then save your .xlsx file securely.
Fully compatible with Microsoft Excel formulas and .xlsx formats.Advanced formula auditing tools to quickly identify and fix #NAME? errors.Supports dynamic arrays (like FILTER) for simpler data extraction.Free and lightweight alternative for seamless workflow automation.
QA img-9

Frequently Asked Questions

Why is my formula returning a #NAME? error?

A #NAME? error typically occurs when the spreadsheet application doesn't recognize text or syntax in the formula. In this scenario, it is caused by mixing R1C1 reference styles with standard A1 styles, or incorrectly using the `@` symbol for structured table references outside of an actual table.

What does the AGGREGATE function do in this formula?

The AGGREGATE function is used here with function number 15 (SMALL) and option 6 (Ignore errors). It evaluates the row numbers that meet the 'COMPLETE' condition and finds the smallest row numbers sequentially, effectively bypassing rows that don't match without throwing an error.

Can I use the @ symbol for structured references in standard ranges?

No, the `@` symbol is specifically designed for Excel Tables to denote 'this row'. Using it in standard range references outside of a formatted table structure will result in syntax errors like #NAME?.

How do I switch between R1C1 and A1 reference styles?

In Excel or WPS Spreadsheet, go to Options > Formulas (or Settings). Under the 'Working with formulas' section, you can check or uncheck the 'R1C1 reference style' box. The standard A1 style is recommended for most formulas to avoid compatibility issues.