Formula Errors

Fix Excel #NAME? Errors and Missing Trade Durations in WPS Office Spreadsheet

John WilsonJohn Wilson Nov 13, 2026 870 views

Question details

A user needs to resolve #NAME? errors and missing "Duration was not found" values in a stock-trading workbook that uses formulas across multiple sheets and functions that may be unavailable in Excel 2016.

Fix Excel #NAME? Errors and Missing Trade Durations in WPS Office Spreadsheet
Product
WPS Office Spreadsheet
Device & OS
not provided
Scenario
The user added a new trade to a multi-sheet stock-trading workbook and needs the formulas to calculate trade durations correctly.
Observed behavior
Formulas return #NAME? or "Duration was not found" because Excel 2016 does not support newer functions such as MINIFS, MAXIFS, LET, and LAMBDA, or because named ranges and sheet references are invalid.
Before you start

Open the workbook in WPS Office Spreadsheet, enable editing if it is protected, and identify the cells that show #NAME? or "Duration was not found" so you can verify each repair immediately.

Solution 1Recommended

Replace Unsupported Functions with Excel 2016-Compatible Array Formulas

Use this when the workbook contains MINIFS, MAXIFS, LET, or LAMBDA and the file must remain compatible with Excel 2016.

Excel 2016 does not recognize MINIFS, MAXIFS, LET, or LAMBDA, so any cell that calls these functions returns #NAME?. Replacing them with IF-based array formulas restores the trade duration calculation on older Excel versions.

1
Open Find and Replace

In WPS Office Spreadsheet, press Ctrl+F or click Home > Find and Replace > Replace to search for unsupported function names such as MINIFS, MAXIFS, LET, and LAMBDA.

2
Locate the affected formulas

Go to the cells that calculate trade durations or profit. Look for formulas that use StockSymbol, StockResult, StockProfitF, LiveSymbol, or LiveProfitF and refer to a missing function.

3
Enter a compatible array formula

Replace the unsupported function with an IF array formula. For example, for a maximum winning profit across stock and live trades, use: =MAX(MAX(IF(StockSymbol=A4,IF(StockResult="W",IF(StockProfitF>0,StockProfitF)))),MAX(IF(LiveSymbol=A4,IF(LiveProfitF>0,LiveProfitF))))

4
Commit with Ctrl+Shift+Enter

Click the formula bar, then press Ctrl+Shift+Enter to enter it as an array formula. WPS Spreadsheet adds curly braces around the formula automatically.

Replace Unsupported Functions with Excel 2016-Compatible Array Formulas
Expected result: The #NAME? error should disappear and the trade duration or profit value should recalculate for the newly added trade.
WPS Spreadsheet troubleshooting

Fix #NAME? Formula Errors in Trading Workbooks with WPS Office Spreadsheet

WPS Office Spreadsheet can open the same .xlsx workbook, provide Name Manager and Find and Replace to repair unsupported formulas, and help you restore missing trade durations without switching to a paid Microsoft 365 plan.

  1. 1. Open the affected workbook: Launch WPS Office Spreadsheet, click Menu > Open, and select the stock-trading .xlsx workbook.
  2. 2. Inspect formula errors: Select the cells showing #NAME? and review the formula bar to identify unsupported functions or missing names.
  3. 3. Repair functions or ranges: Use Formulas > Name Manager and Ctrl+F Find and Replace to replace MINIFS, MAXIFS, LET, or LAMBDA with compatible IF array formulas or to correct named ranges.
  4. 4. Enter array formulas: Click the formula bar and press Ctrl+Shift+Enter to commit any array formula so WPS Spreadsheet adds the required curly braces.
  5. 5. Save and verify: Press F9 to recalculate, confirm the missing trade durations now display, and save the workbook as .xlsx for Excel compatibility.
Opens and edits Microsoft Excel .xlsx workbooks with familiar formulas and formatting.Includes Name Manager and formula auditing to repair #NAME? and cross-sheet reference issues.Supports array formulas with Ctrl+Shift+Enter for Excel 2016-compatible calculations.Free, lightweight, and compatible with Microsoft Office file formats for seamless migration.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Excel formula show #NAME? after adding a new trade?

#NAME? often means Excel does not recognize a function name, named range, or sheet reference. In Excel 2016, newer functions like MINIFS, MAXIFS, LET, and LAMBDA are not available and cause #NAME?.

How do I enter an array formula in WPS Office Spreadsheet?

Select the cell, type or edit the formula, and press Ctrl+Shift+Enter. WPS Spreadsheet adds curly braces around the formula automatically; do not type them manually.

Why does "Duration was not found" appear in my workbook?

The workbook may use a named range or column called Duration that is missing, renamed, or pointed to an invalid reference. Check Formulas > Name Manager and confirm all cross-sheet references.

Can WPS Office open a workbook that uses Excel formulas across multiple sheets?

Yes. WPS Office Spreadsheet can open .xlsx workbooks and provides Name Manager, Find and Replace, and formula tools to inspect and repair cross-sheet formulas and named ranges.

Should I use whole-column references like A:A in a trading workbook?

Whole-column references can slow recalculation and may cause formula issues. Use bounded dynamic ranges such as OFFSET and COUNTA to limit formulas to the actual trade data.