Formula Errors

Troubleshoot Excel LAMBDA Names and Intermittent #NAME Errors in WPS Office

Kushani NimanthikaKushani Nimanthika Nov 13, 2026 869 views

Question details

The user needs to troubleshoot Excel LAMBDA defined names that fail validation or return intermittent #NAME? errors.

Troubleshoot Excel LAMBDA Names and Intermittent #NAME Errors
Product
WPS Office Spreadsheets
Device & OS
not provided
Scenario
The user is creating or using LAMBDA functions and encounters validation failures or intermittent #NAME? errors.
Observed behavior
The LAMBDA name fails validation or intermittently returns #NAME? even after it previously worked.
Before you start

Before changing formulas, open Name Manager in WPS Spreadsheets and note the LAMBDA name, scope, and argument list. Confirm that WPS Office is updated so formula-engine fixes are applied.

Solution 1Recommended

Recreate the LAMBDA name following Excel defined-name rules

Use this first when a LAMBDA fails validation or intermittently shows #NAME? because a unique name prevents conflicts with reserved names and cell references.

LAMBDA names must start with a letter, underscore, or backslash, and cannot be the same as a cell reference such as A1 or a built-in function name. Recreating the name forces WPS Spreadsheets to revalidate the definition.

1
Open Name Manager

Click Formulas > Name Manager in WPS Spreadsheets and locate the LAMBDA name that is failing.

2
Delete the existing LAMBDA name

Select the name, click Delete, and confirm to remove the invalid or cached definition.

3
Create a new unique name

Click New, enter a unique name such as MYLAMBDA_CALC that does not resemble a cell reference or built-in function, and set the scope.

4
Enter the LAMBDA formula

In the Refers to box, enter the LAMBDA function with valid argument names, for example =LAMBDA(x,x*2), then click OK.

5
Test the function

In a worksheet cell, type =MYLAMBDA_CALC(5) and confirm it returns the expected result without #NAME?.

Recreate the LAMBDA name following Excel defined-name rules
LAMBDA name revalidated: Recreating the defined name usually clears intermittent #NAME? errors caused by an earlier invalid or conflicted name.
Direct fix in WPS Spreadsheets

Fix LAMBDA #NAME? errors in WPS Office Spreadsheets

Use WPS Spreadsheets Name Manager to recreate the LAMBDA name with a valid, workbook-scoped definition, and update the app so formulas validate correctly without intermittent #NAME? errors.

  1. 1. Open WPS Spreadsheets: Launch WPS Office and open the affected workbook, or create a new spreadsheet.
  2. 2. Open Name Manager: Click Formulas > Name Manager to review the LAMBDA names currently defined in the workbook.
  3. 3. Recreate the LAMBDA name: Delete the failing name, click New, and enter a unique LAMBDA name with workbook scope and a valid formula.
  4. 4. Update and test: Go to Settings/Help > Check for Updates, install updates, then enter =YourLambdaName(argument) in a cell to verify the result.
Recreate LAMBDA names with Name Manager to clear #NAME? errorsOpens and saves Excel .xlsx files with full formula supportFree, lightweight Office suite with a familiar ribbon interfaceCompatible with Microsoft 365 LAMBDA formulas and defined names
QA img-9

Frequently Asked Questions

Why does my LAMBDA function return #NAME? after I rename it?

The new name may conflict with a reserved name, cell reference, or existing defined name. Open Formulas > Name Manager, delete the conflicting name, and create a unique LAMBDA name that starts with a letter or underscore.

Can a LAMBDA name be the same as a cell reference like A1?

No. Excel defined-name rules do not allow a LAMBDA name that looks like a cell reference such as A1 or R1C1. Use a descriptive name like CALC_TAX instead.

Why does a LAMBDA work in one worksheet but not another in WPS Spreadsheets?

The LAMBDA name might be scoped to a specific worksheet. In Name Manager, recreate the name with Workbook scope so it is available on every sheet.

How do I edit a LAMBDA defined name in WPS Spreadsheets?

Click Formulas > Name Manager, select the LAMBDA name, and click Edit. Update the Refers to box with the corrected LAMBDA formula and argument names, then click OK and recalculate.

Does WPS Office support Excel LAMBDA functions in .xlsx files?

Yes. WPS Office Spreadsheets supports Excel .xlsx workbooks and LAMBDA defined names, but you may need to update WPS Office and recreate cached names if a file originated in Microsoft 365.