Why does double-clicking a file sometimes open Excel—and sometimes Notepad? Why does saving as ‘Excel Workbook’ produce a 2MB file while ‘Excel Binary’ shrinks it to 384KB? Why does your formula work in A1 but break when copied to Sheet2—even though both sheets look identical?
Quick Answer
An Excel file is a compressed archive containing XML documents (for formulas, formatting, structure), binary streams (for charts or legacy features), and metadata—all wrapped in a ZIP container with a specific internal folder layout. The .xlsx extension hides this complexity, but understanding it explains why some files open instantly while others stall on launch, why macros vanish after ‘Save As’, and why pasting into cell B2 sometimes overwrites column C.
All the Methods
| Method | Steps | Best For | Limitations | Time for 10K rows | Accuracy | Difficulty |
|---|---|---|---|---|---|---|
| Open as ZIP archive | Rename .xlsx → .zip, extract, inspect xl/worksheets/sheet1.xml | Debugging corruption, verifying formula storage | No editing without re-zipping correctly; breaks digital signatures | ~45 sec | 100% | High |
| Use Excel’s ‘Open and Repair’ | File > Open > Browse > select file > click arrow next to Open > ‘Open and Repair’ | Recovering unreadable files after crash | May strip formatting, drop charts, lose VBA modules | ~12 sec | 87% | Low |
| Inspect with Office File Validation Tool | Download Microsoft’s free tool; drag file; read XML validation report | Auditing compliance (e.g., GDPR, SOX) | Windows-only; no Mac support; requires admin install | ~8 sec | 99% | Medium |
| View formulas via Formula Auditing | Select cell > Formulas tab > ‘Show Formulas’ (Ctrl+`) | Spotting hidden dependencies before sharing | Doesn’t show external links or volatile functions like NOW() | ~2 sec | 72% | Low |
| Check file signature with PowerShell | Run Get-FileHash -Algorithm SHA256 'Sales_Q3.xlsx' | Verifying file integrity after transfer | No built-in Excel UI; requires command line fluency | ~1.5 sec | 100% | Medium |
Method 1 Deep Dive
Let’s open an Excel file as a ZIP archive—yes, really. Take Sales_Q3_2024.xlsx, rename it to Sales_Q3_2024.zip, then double-click. Inside, you’ll see folders: _rels, docProps, and xl. Navigate to xl/worksheets/sheet1.xml. Open that in Notepad++. Scroll down—you’ll find lines like:
<c r="A2" t="s"><v>1</v></c> <c r="B2"><v>45200</v></c> <c r="C2"><f>=B2*1.08</f><v>48816</v></c>
That’s raw Excel: r="A2" means address, t="s" means string (stored in shared strings table), <v>45200</v> is the numeric value, and <f>=B2*1.08</f> is the formula—not the result. The beauty of this approach is you can spot mismatches before opening Excel: if sheet1.xml contains <f>=VLOOKUP(...)</f> but xl/externalLinks/externalLink1.xml is missing, you know the file will throw #REF! on load.
Try this with real data. Here’s what’s in our sample Sales_Q3_2024.xlsx (first 5 rows of Sheet1):
| Sales Rep | Revenue | Commission (8%) | Region |
|---|---|---|---|
| Sarah Chen | $45,200 | =B2*0.08 | APAC |
| Diego Mora | $62,850 | =B3*0.08 | EMEA |
| Priya Kapoor | $38,100 | =B4*0.08 | APAC |
| Marcus Bell | $71,420 | =B5*0.08 | AMER |
| Amina Diallo | $53,670 | =B6*0.08 | EMEA |
Now go back to sheet1.xml. Find <c r="C2">. You’ll see <f>=B2*0.08</f> and <v>3616</v>. That <v> is Excel’s cached result. If someone edits the XML manually and changes <v>3616</v> to <v>9999</v>, Excel will display 9999—even if the formula says otherwise—until you force recalc (F9). That’s the counterintuitive tip: Excel trusts the cached value unless told otherwise. This is why ‘Open and Repair’ sometimes restores values but not logic.
Method 2 Deep Dive
‘Open and Repair’ seems like a last resort—but used intentionally, it’s a precision diagnostic tool. Here’s how to trigger it deliberately: hold Alt while clicking File > Open. That bypasses Excel’s normal loader and activates the repair engine *before* any code runs. You’ll see two options: ‘Repair’ (attempts recovery) and ‘Extract Data’ (pulls values only, no formulas). Choose ‘Extract Data’ first—if those numbers match your expectations, the issue is definitely formula- or macro-related, not data corruption.
Test it on a known-broken file: Budget_FY24_draft.xlsx, which opens with #VALUE! in D10:D15 and blank cells in column E. After ‘Extract Data’, you get clean numbers in D10:D15—but E10:E15 remains empty. That tells you column E relies on dynamic array formulas (like =FILTER()) that failed to spill. The fix? Go to Formulas > Calculation Options > switch from ‘Automatic’ to ‘Manual’, then back—or better yet, check whether the source range (say, A2:C100) has merged cells (it does, at A50). Merged cells break spill ranges. Unmerge A50, and the whole column E springs to life.
This method exposed something most users miss: Excel doesn’t fail silently. It fails *differently* depending on *which layer* is damaged—XML structure, calculation engine, or binary cache. ‘Open and Repair’ forces Excel to isolate the failure point. And here’s the kicker: if you run it on a healthy file, Excel still rebuilds its internal dependency graph. That’s why some sluggish workbooks speed up by 30% after a routine ‘Repair’—even with no visible errors.
Cheat Sheet
| Action | Shortcut / Command | Notes |
|---|---|---|
| Toggle formula view | Ctrl + ` (backtick) | Shows =SUM(A1:A10), not 24,500 |
| Force full recalculation | Ctrl + Alt + F9 | Recalculates all open workbooks, all formulas |
| Open file with repair mode | Alt + F + O, then choose ‘Open and Repair’ | Bypasses add-ins and startup macros |
| Check file format version | File > Info > Properties > Advanced Properties > Summary tab | Look for ‘Application’ = Microsoft Excel 16.0 = Excel 2016+ |
| Verify external links | Data > Edit Links (Alt + A + K) | Shows broken vs. live connections to other files |
| See sheet dependencies | Formulas > Trace Precedents (Alt + M + P) | Arrows show which cells feed into active cell |
| Export sheet as CSV (no formulas) | Right-click sheet tab > Move or Copy > check ‘Create a copy’ > OK > File > Save As > CSV | Preserves values only; strips formatting, formulas, charts |