Check Whether an Excel Table Column Is Zero or Blank
Question details
Determine whether an Excel table column containing VLOOKUP formulas has a zero total, blank results, or only zeros and blanks.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A user wants to test the results of VLOOKUP formulas in the Ctle7 column of an Excel table.
- Observed behavior
- COUNTIFS may treat text values such as "0" differently from numeric zero and formula results that appear blank.
Confirm the table and column names on the Table Design tab, and check whether the VLOOKUP formulas can return errors or text values such as "0". Replace the example structured reference with your own if the names differ.
Test Whether the Column Total Is Zero
Use SUM when you need to know whether the numeric values in the column add up to zero.
Click a cell outside the table where you want to display the test result.
In the formula bar, enter =SUM(MNT_RespectEscaliers7[Ctle7])=0 and press Enter. The result is TRUE when the numeric total is zero.

Test Each Result for Blank or Numeric Zero
Use SUMPRODUCT when you need to test every result rather than the column total.
Check a Column for Zeros or Blanks in WPS Spreadsheet
Open your workbook in WPS Spreadsheet and use SUM or SUMPRODUCT with a cell range to check the results of lookup formulas.
- 1. Open the workbook: In WPS Spreadsheet, select Open and choose your Excel workbook.
- 2. Identify the result range: Find the cells containing the lookup results, such as B2:B100, and select an empty cell for the test.
- 3. Enter the test: In the formula bar, enter =SUMPRODUCT(--(B2:B100<>""),--(B2:B100<>0))=0, replacing B2:B100 with your result range, and press Enter.
- 4. Review the result: Check the formula cell: TRUE means every result in the range is numeric zero or blank. Text values and errors require separate review.

Frequently Asked Questions
Does a zero SUM mean every cell in the column is zero?
No. Positive and negative numbers can cancel out, and SUM ignores text in the referenced column. Use the SUMPRODUCT zeros-or-blanks test if every result must be checked.
How do I check whether every VLOOKUP result is blank?
In an empty cell, enter =SUMPRODUCT(--(MNT_RespectEscaliers7[Ctle7]<>""))=0, replacing the table and column names as needed. TRUE means every result is blank or an empty string.
Is the text value "0" the same as numeric zero?
No. Text "0" is different from the number 0. When testing for numeric zero in a formula, use 0 without quotation marks.
Why does the test formula return an error?
A VLOOKUP result may contain an error such as #N/A. Check the cells in the referenced column and correct the lookup or handle the error in the VLOOKUP formula before running the test.




