Average Excel Values Containing Non-Detection Symbols
Question details
Calculate an average that includes laboratory non-detection entries as their numeric limits.

- 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.
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.
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.
Click an empty cell outside the data range, such as B2, where you want the average to appear.
Type =AVERAGE(--SUBSTITUTE(A2:A6,"<","")), replacing A2:A6 with your populated data range.
Press Enter in current Excel versions. In older versions, confirm the array formula with Ctrl+Shift+Enter.
Compare the result with a manual calculation that uses the stated limit for each non-detection entry.

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. Open the workbook: In WPS Spreadsheets, choose Open and select your Excel workbook.
- 2. Select a result cell: Click an empty cell outside the populated results range, such as B2.
- 3. Enter the formula: Type =AVERAGE(--SUBSTITUTE(A2:A6,"<","")), adjusting the range to match your data.
- 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.

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.




