Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Get column name from index in Excel Table
  • Excel Frequency Function Example
  • Create Scatter Chart in Excel
  • Conditional Formatting Color Scales Examples in Excel
  • How to calculate average last N values in a table in Excel

References

  • How to calculate two-way lookup VLOOKUP in Excel Table
  • Complete List of Excel Lookup and Reference Functions, References and Examples
  • CHOOSE function: Description, Usage, Syntax, Examples and Explanation
  • Convert text string to valid reference in Excel using Indirect function
  • How to use Excel OFFSET function

Data Validations

  • Excel Data validation date in next 30 days
  • Excel Data validation number multiple 100
  • Excel Data validation exists in list
  • Excel Data validation specific characters only
  • Excel Data validation don’t exceed total

Find missing values in Excel

by

This tutorial shows how to Find missing values in Excel using the example below;

Formula

=IF(COUNTIF(list,value),"OK","Missing")

Explanation

If you want to find out what values in one list are missing from another list, you can use a  simple formula based on the COUNTIF function.

The COUNTIF function counts cells that meet supplied criteria, returning the number of occurrences found. If no cells that meet criteria are found, COUNTIF returns zero. You can use behavior directly inside an IF statement to identify values that have a zero count (i.e. values that are missing).

In the example shown, the formula in G6 is:

=IF(COUNTIF(list,F6),"OK","Missing")

where “list” is a named range that corresponds to the range B6:B11.

The IF function requires a logical test to return TRUE or FALSE. In this case, if a value is found, a positive number is returned by COUNTIF, which evaluates to TRUE, causing IF to return “OK”. If no value is found, zero is returned, which evaluates to FALSE, and IF returns “Missing”.

Alternative with MATCH

You can also test for missing values using the MATCH function. MATCH finds the position of an item in a list and will return the #N/A error when a value is not found. You can use this behavior to build a formula that returns “Missing” or “OK” by testting the result of MATCH using another function called ISNA. ISNA returns true only when it receives the #N/A error.

To use MATCH as shown in the example above, the formula is:

=IF(ISNA(MATCH(F6,list,0)),"Missing","OK")

Post navigation

Previous Post:

COSH function: Description, Usage, Syntax, Examples and Explanation

Next Post:

Excel Data validation require unique number

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • IF, AND, OR and NOT Functions Examples in Excel
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel NOT Function
  • Return blank if in Excel
  • AND function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Count birthdays by month in Excel
  • Add decimal hours to time in Excel
  • Get project end date in Excel
  • Display Days in month in Excel
  • Count holidays between two dates in Excel

Grouping

  • If cell contains one of many things in Excel
  • How to randomly assign people to groups in Excel
  • Map text to numbers in Excel
  • Group numbers at uneven intervals in Excel
  • How to randomly assign data to groups in Excel

General

  • Lock Cells in a Worksheet Excel
  • Convert column number to letter in Excel
  • Sum by group in Excel
  • Share Excel data with Word documents
  • How to calculate profit margin percentage in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning