Formula Errors

How to Fix VLOOKUP Returning #N/A from a Closed XLSB Workbook

Steve KSteve K Oct 23, 2026 872 views

Question details

The user needs to fix an issue where VLOOKUP formulas return an #N/A error when the source XLSB workbook is closed, even though the formulas calculate correctly when the source file is open.

How to Fix VLOOKUP Returning #N/A from a Closed XLSB Workbook
Product
Spreadsheets
Device & OS
not provided
Scenario
Pulling external data from a separate XLSB (Excel Binary) file using a VLOOKUP formula while leaving the source file closed.
Observed behavior
The formula returns #N/A and prompts a link update error when the source workbook is closed, but displays the correct values once the source workbook is opened.
Before you start

Ensure you know the exact folder path where the external XLSB workbook is saved, and verify that you have read permissions for that directory.

Solution 1Recommended

Update External Links and Force Recalculation

Manually update the workbook links to refresh the data cache from the closed XLSB file.

When an external source workbook is closed, spreadsheet applications rely on cached data. If the links are not automatically updating or the file was recently moved, VLOOKUP will fail to resolve the reference and return an #N/A error.

1
Open Link Settings

Go to the 'Data' tab on the top ribbon and click on 'Edit Links'.

2
Update Source Values

In the Edit Links dialog box, select the problematic closed XLSB file from the list and click 'Update Values'.

3
Force Recalculation

Close the dialog box and press the 'F9' key on your keyboard to force the spreadsheet to recalculate all formulas.

Update External Links and Force Recalculation
Link Integrity: If you receive an error stating that links cannot be updated, the source file may have been renamed, moved, or corrupted.

Manage External Workbook Links Seamlessly in WPS Spreadsheet

WPS Office provides robust and stable support for cross-workbook formulas, including VLOOKUP, INDEX, and MATCH. You can easily manage external links and update data connections without needing to keep multiple large files open.

  1. 1. Open Destination File: Launch WPS Spreadsheet and open the file containing your VLOOKUP formulas.
  2. 2. Access Edit Links: Navigate to the 'Data' tab on the ribbon and click the 'Edit Links' button.
  3. 3. Update Connections: Select your external XLSB workbook from the list of links and click 'Update Values'.
  4. 4. Recalculate: Press 'F9' to refresh your spreadsheet and resolve the #N/A errors.
Seamlessly handles VLOOKUP and INDEX/MATCH across closed workbooksFully compatible with Microsoft Excel XLS, XLSX, and XLSB file formatsBuilt-in 'Edit Links' manager for easy troubleshooting of external sourcesLightweight application ensures fast calculation speeds even with large datasets
microsoft office alternative - wps office

Frequently Asked Questions

Why does VLOOKUP return #N/A only when the source file is closed?

This usually happens because the spreadsheet application cannot successfully connect to the cached data of the external file. It often occurs if the file path was changed, the link wasn't updated via the Edit Links tool, or the binary (.xlsb) cache is slightly corrupted.

Can I use the INDIRECT function to pull data from a closed workbook?

No. The INDIRECT function is designed to work only with open workbooks. If you use INDIRECT to reference an external file and then close that file, the formula will immediately return a #REF! error.

How can I hide the #N/A errors in my spreadsheet without fixing the link?

You can wrap your formula in the IFERROR function to replace the error with a blank cell or custom text. For example: =IFERROR(VLOOKUP(...), ""). Keep in mind that this only hides the error and does not restore the missing data.

Are XLSB (Excel Binary) files fully supported for external VLOOKUPs?

Yes, XLSB files are fully supported for external referencing in both Microsoft Excel and WPS Office. However, because they use a binary structure, caching issues can occasionally require a manual link update via the Data tab.