How to Streamline the Excel Error Checking Process: Excel’s Inspect Workbook Feature

by Matthew Kuo on September 28, 2015

in Error Checking, Excel

To learn more about Excel, go to the organized listing of all my Excel tutorial posts or review the
 

Checking for errors in your Excel files is always a pain.  It’s generally a very manual process that takes a lot of time, with a certain level of ambiguity regarding your return on investment – you could spend hours checking for issues in your Excel file, find nothing wrong, and your only tangible benefit is additional peace of mind.  Additionally, when you’re building a huge model housing databases or working against a tough deadline, it’s tempting to just skip the error checking process altogether and not allocate time towards quality control.

One way to address the efficiency aspect of error checking is a greatly underutilized feature in Excel called the Inspect Workbook feature (also known as the Document Inspector).

Insect_Workbook_01

Key Benefit

Inspect Workbook allows you to quickly check for a long list of issues that could potentially cause problems in your workbook.  The feature is built into Excel versions 2007 and later and covers a wide range of items.  Below is the full list of items that Inspect Workbook will check for:

  • Comments and Annotations
  • Document Properties and Personal Information
  • Data Model
  • Content Apps
  • Task Pane Apps
  • Pivotables, PivotChart, Cube Formulas, Slicers, and Timelines
  • Embedded Documents
  • Macros, Forms, and ActiveX Controls
  • Links to Other Files
  • Real Time Data Functions
  • Excel Surveys
  • Defined Scenarios
  • Active Filters
  • Customer Worksheet Properties
  • Hidden Names
  • Custom XML Data
  • Headers and Footers
  • Hidden Rows and Columns
  • Hidden Worksheets
  • Invisible Content

In terms of efficiency, the Inspect Workbook feature is extremely helpful because it can review each of these items in a single pass.  You can imagine how long it would take to check your workbook for all of these items manually.

From a usage perspective, the best time to leverage this feature is when you inherit a document from someone else.  Obviously if you’re just working in file by yourself, you’d probably know if you added macros or hid tabs in your workbook.  Therefore, Inspect Workbook is probably not be that useful if you’re just working alone.

The Inspection Process

To initiate the Document Inspector, all you have to do is go to Excel’s File menu.

Insect_Workbook_02

In that view, you should see the option to inspect your workbook in the middle of the screen.

Insect_Workbook_03

From there, just click on the button for Check for Issues and then select Inspect Document.

Insect_Workbook_04

Excel will remind you that it’s a good idea to save your file and give you the option to do so.  Click Yes to save and proceed, or No if you don’t want to save your file at that moment.

Insect_Workbook_05

Excel will bring up a menu asking you to confirm all the items you want to check for.  You can generally just leave these all checked, as adding items doesn’t really make the inspection process take any longer.

Click the Inspect button once you’ve confirmed your inspection list.

Insect_Workbook_06

Finally, Excel will return with a summary of all the items it found, and the option to remove some of these from your workbook.

Insect_Workbook_07

Key Limitations

While Inspect Workbook is great for the identification of errors, it’s actually not that helpful in terms of actual error resolution.  The best example of this is how it deals with hidden worksheets, shown below.

After running the Inspect Workbook tool, notice that Excel has identified that the worksheet I’m using has two hidden worksheets.  From this interface, my only option is to delete these hidden worksheets without even looking at them.  From an audit perspective, this would be a terrible idea.  Those hidden tabs could be holding values and calculations that are critical to the rest of the file.

Insect_Workbook_08

Ideally, what I’d want to do in this situation is unhide all tabs, inspect the ones that were hidden, and then decide if I actually want to delete them.  Excel’s Document Inspector lacks that interface, so for now, you still have to go through that process manually.

Additionally, Inspect Workbook does not identify formula errors in your file.  If you have reference errors or divide by zero errors showing up in your formulas, the tool does not have an option to call them out.  Excel’s error checking feature will call these out in individual cells, but it’s not really linked to the Inspect Workbook feature.

Summary

The best time to use Inspect Workbook is when you’re given a huge file that you know nothing about, are expected to inherit and own the file going forward, and need to look for mousetraps that could cause mistakes and errors down the road.  Depending on how and where you use Excel, you might use this feature often to manage handoffs.  Other people who just work in Excel by themselves may not use it at all.  At the end of the day, it’s important to be aware that this feature exists, so if you ever do need to audit a massive Excel file, you can save yourself a significant amount of time.  Just note that, for the actual error resolution, you’ll still have to do most of that manually.

{ 0 comments… add one now }

Leave a Comment

Previous post:

Next post:


Related pages


ms excel trial versioncreating a histogram in excelline and column chart excelincome excel templatehow to do a stacked bar chartformula of vlookupvlookup simple exampleexcel formulas in pdf fileiserror vlookupvba if statement exampleshide formulas excelhistogram in excelexcel shortcuts in excelexcel formulas with examples in excel sheet vlookupremove duplicates in a listexcel lookup formulalookup functions in excel 2010excel unique numbershow to draw column chart in excelgaussian excelexcel remove duplicates from list1 crore zerosrange lookup in excelucla mba tuitionrandom student selectorcheck duplicate in exceldifferent types of excel spreadsheetsexcel vlookup tableucla myhousingremove duplicate lines in excelexcel all formulas with example 2007how to calculate w4excel unique records onlyformulas not working in excelexcel vba histogramshortcut key for paste specialexcel formulas to compare two columnsexcel formula cheat sheet 2013compare excel columns for differenceshow to put not equal to in excel formulahow to calculate w4 withholding 2015stacked columnexcel formula for random selectionshort cut in excelwhere to find the tick symbol in wordvlookup sum multiple rowsms excel advanced tutorialhow to select multiple rows in excelisna formula in excelexcel function randexcel 2010 how to remove duplicatesreverse vlookupcount array excelstack graph in excelhow to insert a checkmark into excelmicrosoft excel lookup functioncountif formulamicrosoft excel demoexcel duplicate recordsexcel 2013 indirect functioncount identical cells in excelexcel vba delete pivot tablehlookup in excel examplestudent homework planner templatewhat is countif function in excelformulae for excelcheck mark in wingdingsexcel formulas 2007 with examplesexcel highlight shortcutcountif valueifs excelif clause excelvba lookup
\n