How to Verify XLS Formulas and Results After Conversion
Separate formulas from cached results and test functions, names, arrays, links and recalculation.
Isolate Cached Values from Live Formulas
A cell displaying a number that does not respond to input changes contains a cached result, not a live formula. The XLS binary format stores the last computed value in a Formula record alongside the formula text. A converter can discard the formula and write only the cached value as a static number.
Observable check: Select the cell and examine the formula bar. If no equals sign precedes the content, the formula was stripped. If a formula is visible, press F2 then Enter to force recalculation. Change one precedent cell. If the formula cell does not update, the application is displaying a cached remnant that it cannot recalculate.
Limitation: Some applications display the formula but refuse to evaluate it because internal dependency metadata is missing. The formula bar shows =SUM(A1:A10) while the cell shows a static 450. Re-enter the formula from the original workbook when this occurs.
Test Individual Functions Against the BIFF8 Function Index
The XLS binary format uses a fixed function index table in BIFF8. Functions absent from that table cannot be stored as native formulas. Converters may drop unsupported functions, replace them with #NAME?, or substitute approximations that produce different results.
Observable check: Enter =SUM(1,2,3) in an empty cell. If this returns 6, basic formula evaluation works. Then test each function your workbook depends on: =IFNA(A1,"fallback"), =XLOOKUP(...), =TEXTJOIN(...). A #NAME? error confirms the function is not in the BIFF8 index. Cross-reference the function against the MS-XLS specification function table.
Limitation: Some converters map unsupported functions to supported near-equivalents. IFERROR might become IF(ISERROR(...),...). This preserves calculation but alters formula text, breaking audit trails.
Verify Named Range Integrity and Scope
Named ranges are stored in NAME records. Conversion can drop names, change their scope from workbook-level to sheet-level, or corrupt the refers-to string.
Observable check: Open Name Manager (Formulas → Name Manager). Confirm every name from the original workbook is present. For each name, verify the scope column matches the original. Select a name and click in the "Refers To" box; the referenced range should highlight on the sheet. If no highlight appears, the reference string is malformed. Test one formula that uses each name: =TaxRate*C10 should return a number, not #NAME? or #REF!.
Limitation: Hidden names (those beginning with an underscore or used by print areas) are often omitted by converters. The Name Manager may not list them. Check the original workbook's name collection programmatically if hidden names are critical.
Confirm Array Formula Context Survived Conversion
Legacy array formulas ({=...}) use a dedicated Array record that binds the formula to a multi-cell range. Conversion can strip the array context, leaving a single-cell formula that calculates only for its own position.
Observable check: Select a cell that originally contained an array formula. The formula bar must show curly braces { } surrounding the formula. If braces are absent, select the entire original array range. If each cell now contains an independent formula, the array context is lost. Re-enter the formula with Ctrl+Shift+Enter in an application that supports legacy array formulas.
Limitation: Dynamic array functions available in newer spreadsheet versions have no XLS equivalent. A converter cannot preserve =SORT(A1:A10) as a live formula in XLS format.
Audit External Link Records
External references (=[Budget.xls]Sheet1!A1) depend on EXTERNALBOOK and EXTERNSHEET records. If these records are missing, truncated, or contain unresolvable paths, all external formulas become #REF!.
Observable check: Open Data → Edit Links. An empty list when links existed in the original means the converter discarded the external reference records. If links appear but show status "Error: Source not found," the stored path does not match the linked file's current location. Open one linked file manually, then force recalculation (Ctrl+Alt+F9). If #REF! errors persist, the link structure is corrupted.
Limitation: Relative paths in the original XLS are stored relative to the workbook's directory. Moving the converted file breaks relative links silently. Absolute UNC paths may reference network locations inaccessible from the current machine.
Trace a Dependency Chain Through Full Recalculation
The calculation tree that determines evaluation order is stored in the XLS file. A corrupted tree produces results that change after a forced full recalculation, revealing that the application was displaying stale cached values.
Observable check: Note the value of a formula cell that depends on a chain of at least three precedents. Press Ctrl+Alt+F9 (Excel) or the equivalent full recalculation command. If the value changes, the calculation tree was broken and the previous display was unreliable. Manually trace one dependency chain using Formulas → Trace Precedents. Arrows should connect all precedent cells without gaps.
Limitation: This test only detects corruption that affects recalculation order. It does not catch formulas that were silently replaced with static values that happen to match the correct result.
Test Iteration Settings for Circular References
XLS supports circular references with iteration limits stored in the workbook. Converters often discard these settings. The default in most applications is to disable iteration and flag circular references as errors.
Observable check: Open File → Options → Formulas and locate the "Enable iterative calculation" checkbox. If unchecked and the original workbook used intentional circular references (e.g., a cash-flow model with interest-on-cash loops), the converted file will display a circular reference warning. Enable iteration and set the maximum iterations and maximum change values to match the original workbook's settings.
Limitation: The original iteration settings are not recoverable from the converted file. You must know the original values or determine them experimentally.
Inspect Date Serial Numbers and Numeric Precision
Dates in XLS are stored as serial numbers in Number records. A converter that writes the formatted date string instead of the serial number produces text that looks correct but breaks all date arithmetic. Precision settings stored in Delta records or WndowProtect flags may be ignored.
Observable check: Select a date cell. The formula bar must show a serial number or a date value without quotes. If the formula bar shows "6/15/2024" with quotes, the value is text. Test with =A1+1: a date serial returns the next day; text returns #VALUE!. For numeric precision, enter =A1-ROUND(A1,2) in an adjacent cell. A non-zero result indicates precision was lost or rounding settings were discarded.
Limitation: The 1900/1904 date system flag in XLS affects all date serials. A converter that misreads this flag shifts all dates by four years. Verify a known date against a trusted calendar.
Test Conditional Format Rule Evaluation
Conditional formats reside in CONDFMT records. Conversion can drop rules, alter their priority order, or corrupt the range to which they apply.
Observable check: Identify a cell that should trigger a conditional format (e.g., value greater than 100 fills green). Change the cell value to meet the condition. If formatting does not change, open Conditional Formatting → Manage Rules. Verify the rule exists, the formula or condition is intact, and the "Applies to" range includes the test cell. Reapply rules manually from the original workbook if any component is missing.
Limitation: Rules that reference other worksheets or external workbooks are stored with fragile external references. These break at higher rates than self-contained rules.
Check Hard Format Limits: Rows, Columns, Cell Length, and Encoding
XLS format enforces limits that converters cannot exceed. Truncation at these boundaries is often silent.
Observable checks:
- Scroll to the last row (65,536) and last column (IV, 256). Data beyond these boundaries is permanently lost. Compare row counts with the original.
- For cell character limits, select a cell known to contain a long formula or text string. Copy its contents to a character counter. XLS cells truncate at 32,767 characters.
- For encoding, inspect cells containing non-Latin characters (Cyrillic, CJK, Arabic). Garbled text or
?replacement characters indicate the converter misread the BIFF8 string compression flag (grbit) or character count (cch). The MS-XLS specification details the byte structure for compressed and uncompressed Unicode strings.
Limitation: Truncation at row/column limits is irreversible from the converted file. Recovery requires returning to the original workbook.
Confirm Macro and VBA Project Preservation
XLS supports XLM macros and VBA projects. Conversion to non-macro-enabled formats strips all code. Even macro-enabled output formats may drop the project if the converter does not handle the MacroEnabled flag or the VBA storage stream.
Observable check: Open the converted file and press Alt+F11. An empty project window means all macros are gone. If the VBA project appears, open a module and verify code integrity. Compile the project (Debug → Compile VBAProject). A compile error indicates corrupted code storage.
Limitation: XLM macro sheets (Excel 4 macros) are stored in a format distinct from VBA. Few modern converters handle them. Assume XLM macros are lost unless the converter explicitly documents support.