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

 
 
Help and How-to
Search
Search
 
 
 
 
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.

Correct a #NULL! error
 

Occurs when you specify an intersection of two areas that do not intersect. The intersection operator is a space between references.

  1. Click the cell that displays the error, click the button that appears Button image, and then click Trace Error if it appears.

  2. Review the possible causes and solutions.

Possible causes and solutions

ShowUsing an incorrect range operator

  • To refer to a contiguous range of cells, use a colon (:) to separate the reference to the first cell in the range from the reference to the last cell in the range. For example, SUM(A1:A10) refers to the range from cell A1 to cell A10 inclusive.

  • To refer to two areas that don't intersect, use the union operator, the comma (,). For example, if the formula sums two ranges, make sure a comma separates the two ranges (SUM(A1:A10,C1:C10)).

ShowRanges do not intersect

Change the reference so that it intersects.

ShowHow?

When you enter or edit a formula (formula: A sequence of values, cell references, names, functions, or operators in a cell that together produce a new value. A formula always begins with an equal sign (=).), cell references and the borders around the corresponding cells are color-coded.

Color-coded cell references

Color-coded cell references

If there are no squares at each corner of the color-coded border, then the reference is to a named (name: A word or string of characters that represents a cell, range of cells, formula, or constant value. Use easy-to-understand names, such as Products, to refer to hard to understand ranges, such as Sales!C20:C30.) range.

ShowChange references that are not to a named range

  1. Double-click the cell that contains the formula you want to change. Microsoft Excel highlights each cell or range of cells with a different color.

  2. Do one of the following:

    • To move a cell or range reference to a different cell or range, drag the color-coded border of the cell or range to the new cell or range.

    • To include more or fewer cells in a reference, drag a corner of the border.

    • In the formula, select the reference, and type a new one.

  3. Press ENTER.

ShowChange references that are to a named range

  1. Do one of the following:

    • Select the range of cells that contains formulas in which you want to replace references with names.

    • Select a single cell to change the references to names in all formulas on the worksheet.

  2. On the Insert menu, point to Name, and then click Apply.

  3. In the Apply names box, click one or more names.

advertisement