logo
search
Pivot Table Issues

How to Fix Unexpected Numbers in Excel VLOOKUP and PivotTables

Partner EditorPartner Editor Oct 12, 2026 868 views

Question details

The user needs to find out why an unexpected number is appearing in both VLOOKUP formulas and PivotTable results.

How to Fix Unexpected Numbers in Excel VLOOKUP and PivotTables
Product
Spreadsheets
Device & OS
not provided
Scenario
Analyzing or summarizing data using VLOOKUP formulas and PivotTables.
Observed behavior
Both the VLOOKUP formula and the PivotTable return an unexpected number that does not seem to belong, suggesting a hidden anomaly in the source data.
Before you start

Before troubleshooting your formulas or PivotTable settings, ensure that your workbook does not have active filters applied that might temporarily obscure parts of your source data.

Solution 1Recommended

Unhide Rows and Verify Your Source Data Range

Since both VLOOKUP and the PivotTable rely on the same source data (like a specific Suppliers range), the unexpected number is almost certainly hidden inside the source data itself rather than being artificially generated.

Often, rows in a source data range are hidden manually or by previous filtering. PivotTables and VLOOKUP will still read these hidden rows, causing unexpected values to appear in your final reports.

1
Navigate to the source data

Go to the worksheet containing the source data range (e.g., the 'Suppliers' sheet) referenced by your VLOOKUP or PivotTable.

2
Select the entire worksheet

Click the small triangle in the top-left corner of the worksheet (between column header A and row header 1), or simply press Ctrl + A on your keyboard.

3
Unhide all rows

Right-click on any row number on the left side of the screen and select 'Unhide' from the context menu to reveal any hidden data.

4
Locate and correct the value

Press Ctrl + F to open the Find dialog, type the unexpected number, and locate it in the source data. Delete or correct the incorrect entry.

5
Refresh your PivotTable

Return to your PivotTable, right-click anywhere inside it, and select 'Refresh' to update the table with the corrected source data.

Unhide Rows and Verify Your Source Data Range
Check Named Ranges: If you are using a named range (e.g., 'Suppliers') for your VLOOKUP or PivotTable, verify its boundaries in the Name Manager (Formulas tab > Name Manager) to ensure it is not referencing extra rows or columns containing outdated data.

Easily Manage Source Data and PivotTables with WPS Spreadsheet

WPS Spreadsheet provides intuitive tools for finding hidden data, managing named ranges, and refreshing PivotTables. It allows you to seamlessly track down formula issues and is completely free to use.

  1. 1. Open Your File: Launch WPS Spreadsheet and open your existing Excel workbook.
  2. 2. Unhide Data: Select the source data area, right-click the row numbers, and click 'Unhide' to reveal all records.
  3. 3. Update the PivotTable: Navigate to your PivotTable sheet, right-click inside the table, and select 'Refresh' to apply the clean data.
100% compatible with Microsoft Excel (.xlsx) formats and VLOOKUP functions.Intuitive PivotTable interface for easy data summarization and refreshing.Lightweight alternative with powerful data analysis and error-checking tools.Free to use with a familiar, easy-to-navigate user interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my PivotTable still show deleted data?

PivotTables store a background cache of your data to improve performance. If you delete a value from your source data, you must right-click the PivotTable and select 'Refresh' to update the cache and remove the old data from your view.

How do I fix a VLOOKUP returning a completely wrong value?

Ensure the 'range_lookup' argument in your VLOOKUP formula is set to FALSE or 0 for an exact match (e.g., =VLOOKUP(A1, B:C, 2, FALSE)). If it is omitted or set to TRUE, Excel will return an approximate match, which frequently results in an unexpected number.

How can I easily tell if there are hidden rows in my spreadsheet?

Look at the row numbers on the left side of your spreadsheet. If you see a gap in the numbering sequence (for example, it skips from row 10 to row 15), the rows in between are hidden.

Does changing the source data automatically update a VLOOKUP?

Yes, a VLOOKUP formula calculates dynamically. The moment you change the data in the source cells it references, the VLOOKUP result will update instantly without needing a manual refresh, unlike a PivotTable.