Fix Excel LAMBDA Thunk Returning #VALUE! Error in XLSB Workbooks
Question details
A user-defined Excel LAMBDA function utilizing a thunk evaluates to a #VALUE! error after an XLSB (Excel Binary Workbook) file is closed and reopened.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Opening an existing XLSB workbook that contains custom named functions using LAMBDA thunks for delayed evaluation.
- Observed behavior
- The LAMBDA thunk unexpectedly returns a #VALUE! error instead of calculating the intended result.
Before updating your application or converting file formats, save a backup copy of your original XLSB workbook to a safe location to prevent accidental data loss during troubleshooting.
Update Excel to the Latest Release Channel
This error is often a release-specific bug in the Excel calculation engine. Installing the latest updates (such as the April 2024 release or newer) usually resolves the issue natively.
Microsoft frequently patches formula evaluation bugs through its update channels. Since the #VALUE! issue with LAMBDA thunks in binary workbooks did not occur in later releases, updating your Office suite is the most effective solution.
Launch Microsoft Excel, click on 'File' in the top-left corner, and select 'Account' from the left-hand menu.
Under the 'Product Information' section, verify your current Version and Update Channel. Ensure you are not on a delayed enterprise channel if a newer patch is required.
Click the 'Update Options' dropdown box and select 'Update Now'. Allow Excel to download and apply the latest updates, then restart the application and reopen your XLSB file.
Convert the XLSB Workbook to XLSX or XLSM
If you cannot update Excel immediately, saving the workbook in a standard XML-based format can bypass the binary-specific LAMBDA evaluation bug.
Try WPS Office for Reliable Spreadsheet Management
If you frequently encounter release-specific bugs like the LAMBDA thunk #VALUE! error in Excel, consider switching to WPS Office. It provides a lightweight, highly compatible alternative for your complex data calculation needs without unexpected version bugs.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installation package.
- 2. Install the Software: Run the installer and follow the on-screen instructions to set up WPS Office on your device.
- 3. Open Your Spreadsheets: Launch WPS Spreadsheets, click 'Open', and select your Excel files to continue working seamlessly.

Frequently Asked Questions
What causes the #VALUE! error in Excel LAMBDA functions?
The #VALUE! error typically occurs when a function receives an unexpected data type. However, in the case of LAMBDA thunks specifically in XLSB files, it is usually a software bug tied to specific Excel release channels failing to parse the custom function correctly upon reopening.
What exactly is an Excel LAMBDA thunk?
A LAMBDA thunk is a LAMBDA function that takes no parameters (e.g., =LAMBDA( , expression)). It is used in advanced Excel formula design to delay the evaluation of an expression until it is explicitly called, preventing unnecessary calculations.
Will saving my XLSB file as XLSX permanently fix the error?
Yes, in most cases. The parsing bug is highly specific to how Excel handles binary (.xlsb) workbooks. Saving the file via 'File > Save As' to the standard XML-based .xlsx or .xlsm format avoids the serialization issue completely.




