Calculation Issues

Average Excel Values Containing Non-Detection Symbols

Anum MushtaqAnum Mushtaq Nov 14, 2026 869 views

Question details

Calculate an average that includes laboratory non-detection entries as their numeric limits.

How to Average Excel Values Containing Non-Detection Symbols
Product
Microsoft Excel
Device & OS
not provided
Scenario
A worksheet contains numeric results and non-detection entries such as <20 that must be averaged using their stated limits.
Observed behavior
Excel's AVERAGE function ignores entries such as <20 because they are stored as text.
Before you start

Identify a contiguous range of populated cells containing only numeric values or entries such as <20. Confirm that treating each non-detection result as its stated limit is appropriate for your analysis.

Solution 1Recommended

Average numeric limits with SUBSTITUTE

Use an array formula to remove the less-than symbol during calculation without changing the original entries.

The formula treats <20 as 20. This is a calculation convention, not a measurement of the actual value below the detection limit.

1
Select the result cell

Click an empty cell outside the data range, such as B2, where you want the average to appear.

2
Enter the formula

Type =AVERAGE(--SUBSTITUTE(A2:A6,"<","")), replacing A2:A6 with your populated data range.

3
Confirm the formula

Press Enter in current Excel versions. In older versions, confirm the array formula with Ctrl+Shift+Enter.

4
Check the result

Compare the result with a manual calculation that uses the stated limit for each non-detection entry.

Average numeric limits with SUBSTITUTE
Check the data range: Blank cells can be converted to zero, and other nonnumeric text can cause an error. Exclude blanks and clean unexpected text before using this formula.
Calculate in WPS Spreadsheets

Average non-detection limits in WPS Spreadsheets

Open your workbook in WPS Spreadsheets and use SUBSTITUTE with AVERAGE to include non-detection entries at their stated numeric limits.

  1. 1. Open the workbook: In WPS Spreadsheets, choose Open and select your Excel workbook.
  2. 2. Select a result cell: Click an empty cell outside the populated results range, such as B2.
  3. 3. Enter the formula: Type =AVERAGE(--SUBSTITUTE(A2:A6,"<","")), adjusting the range to match your data.
  4. 4. Confirm and check: Press Enter; if your WPS version requires array entry, use Ctrl+Shift+Enter. Check the result against the limits in your source cells.
Calculate an average that includes entries such as <20Open and edit Microsoft Excel XLSX and XLS filesKeep the original non-detection symbols in the source cellsUse a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel ignore values such as <20 when averaging?

Excel stores entries containing the less-than symbol as text, so AVERAGE ignores them when they appear in a referenced range.

Does the formula change the original laboratory results?

No. SUBSTITUTE removes the symbol only within the calculation; the source cells still display entries such as <20.

What if my range contains blank cells?

Exclude blank cells from the formula's range or prepare a contiguous range of populated results. The conversion can otherwise count blanks as zero.

Can I remove a different symbol instead?

Yes. In the SUBSTITUTE formula, replace "<" with the symbol you need to remove, provided the remaining text represents a valid number and that interpretation is appropriate.