Microsoft Office Online
Sign in to My Office Online (What's this?) | Sign in

 
 
Microsoft Office Excel
Search
Search
 
Check for updates: (c) Microsoft
Office downloads
 
 
 
Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.

Email this linkEmail this link Printer-Friendly VersionPrinter-Friendly Version Bookmark and ShareShare
Troubleshoot data validation
 

ShowMy validation message doesn't appear when invalid data is entered.

Messages appear only when data is typed directly into the cells. Your message won't appear:

To identify cells that contain invalid data regardless of how the data was entered, point to Formula Auditing on the Tools menu, click Show Formula Auditing Toolbar, and then click Circle Invalid Data Button image.

Notes

ShowMy data validation doesn't work.

Is validation applied to the cells?   Find the cells on the worksheet that have data validation: click Go To on the Edit menu, click Special, click Data validation, and then click All.

Are users entering data by typing?   Make sure that users click each cell and then type the data. If users copy or fill data in validated cells, validation messages don't appear, and entry of invalid data isn't prevented.

Is manual recalculation turned on?   If so, uncalculated cells may prevent data from being validated properly. To turn off manual recalculation, click Options on the Tools menu, click the Calculation tab, and then click Automatic under Calculation.

Are formulas error free?   Make sure formulas in validated cells don't result in errors, such as #REF! or #DIV/0!. Microsoft Office Excel ignores the data validation until you correct the error.

Are cells referenced in formulas correct?   If a referenced cell changes so that a formula in a validated cell calculates an invalid result, the validation message for the cell won't appear.

Are the referenced cells on the same worksheet or a different workbook?  Cell references have to be to cells on the same worksheet. If you have to refer to a different worksheet or a different workbook, use a defined name and make sure that the workbook is already open.

ShowCopying, filling, and calculating by formula override my data validation.

Data validation is designed to display messages and prevent invalid entries only when users type data directly in a cell. When data is copied, filled, or calculated by a formula, the messages don't appear.

Note  You cannot override data validation for lists (list: A series of rows that contains related data or a series of rows that you designate to function as a datasheet by using the Create List command.) that are linked to a SharePoint site.

Try the following:

ShowThe Validation command is unavailable.

The list may be linked to a SharePoint site   You cannot add data validation to a list (list: A series of rows that contains related data or a series of rows that you designate to function as a datasheet by using the Create List command.) that is linked to a SharePoint site. To add data validation, you must unlink the list or convert the list to a range.

You may be currently entering data   The Validation command is not available on the Data menu while you are entering data in a cell. To finish entering, press ENTER or ESC.

The worksheet might be protected   To remove the protection, point to Protection on the Tools menu, and then click Unprotect Sheet.

The workbook might be shared   In a shared workbook (shared workbook: A workbook set up to allow multiple users on a network to view and make changes at the same time. Each user who saves the workbook sees the changes made by other users.), Excel can validate data, but you can't change the settings. To make the Validation command available, stop sharing the workbook.

ShowHow?

  1. Have all other users save and close the shared workbook (shared workbook: A workbook set up to allow multiple users on a network to view and make changes at the same time. Each user who saves the workbook sees the changes made by other users.). If other users are editing, they will lose any unsaved work.
  2. Unsharing the workbook deletes the change history (change history: In a shared workbook, information that is maintained about changes made in past editing sessions. The information includes the name of the person who made each change, when the change was made, and what data was changed.). If you want to keep a copy of this information, print the History worksheet (History worksheet: A separate worksheet that lists changes being tracked in a shared workbook, including the name of the person who made the change, when and where it was made, what data was deleted or replaced, and how conflicts were resolved.) or copy it to another workbook.

    ShowHow?

    1. On the Tools menu, point to Track Changes, and then click Highlight Changes.
    2. In the When box, click All.
    3. Clear the Who and Where check boxes.
    4. Select the List changes on a new sheet check box, and then click OK.
    5. Do one or more of the following:
      • To print the History worksheet, click Print Button image.
      • To copy the history to another workbook, select the cells that you want to copy, click Copy Button image, switch to another workbook, click where you want the copy appear, and click Paste Button image.

      Note  You may also want to save or print the current version of the workbook, because this history might not apply to later versions. For example, cell locations, including row numbers, in the copied history may no longer be current.

  3. On the Tools menu, click Share Workbook, and then click the Editing tab.
  4. Make sure that you are the only person listed in the Who has this workbook open now box.
  5. Clear the Allow changes by more than one user at the same time check box.

    If this check box is not available, you must unprotect the workbook before clearing the check box.

    ShowHow?

    1. Click OK, point to Protection on the Tools menu, and then click Unprotect Shared Workbook.
    2. Enter the password (password: A way to restrict access to a workbook, worksheet, or part of a worksheet. Excel passwords can be up to 255 letters, numbers, spaces, and symbols. You must type uppercase and lowercase letters correctly when you set and enter passwords.) if prompted, and then click OK.
    3. On the Tools menu, click Share Workbook, and then click the Editing tab.
  6. When prompted about the effects on other users, click Yes.
advertisement