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

Data Analysis

  • Add Outline to Data in Excel
  • Understanding Anova in Excel
  • Managing Conditional Formatting Rules in Excel
  • Use Data Form to input, edit and delete records in Excel
  • How to conditionally sum numeric data in an Excel table using SUMIFS

References

  • Extract all partial matches in Excel
  • How to use Excel MATCH Function
  • Get nth match with INDEX / MATCH in Excel
  • Perform case-sensitive Lookup in Excel
  • How to reference named range different sheet in Excel

Data Validations

  • Excel Data validation must begin with
  • Excel Data validation must contain specific text
  • Prevent invalid data entering in specific cells
  • Excel Data validation no punctuation
  • Excel Data validation specific characters only

Match first error in Excel

by

This tutorial shows how to Match first error in Excel using the example below;

Formula

{=MATCH(TRUE,ISERROR(range),0)}

Explanation

If you need to match the first error in a range of cells, you can use an array formula based on the MATCH and ISERROR functions.

In the example shown, the formula is:

{=MATCH(TRUE,ISERROR(B4:B11),0)}

This is an array formula, and must be entered using Control + Shift + Enter (CSE).

How this formula works

Working from the inside out, the ISERRROR function returns TRUE when a value is a recognized error, and FALSE if not.

When given a range of cells (an array of cells) ISERROR function will return an array of TRUE/FALSE results. In the example, this resulting array looks like this:

{FALSE;FALSE;FALSE;FALSE;FALSE;TRUE;FALSE;FALSE}

Note that the 6th value (which corresponds to the 6th cell in the range) is TRUE, since cell B9 contains #N/A.

The MATCH function is configured to match TRUE in exact match mode. It finds the first TRUE in the array created by ISERROR and returns the position. If no match is found, the MATCH function itself returns #N/A.

Finding the first NA error

The formula above will match any error. If you want to match the first #N/A error, just substitute ISNA for ISERROR:

{=MATCH(TRUE,ISNA(B4:B11),0)}

Post navigation

Previous Post:

How to use Excel CHOOSE Function

Next Post:

Customize Ribbon In Excel

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

  • How to use Excel AND Function
  • SWITCH function example in Excel
  • How to use Excel NOT Function
  • Nested IF function example in Excel
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Get fiscal quarter from date in Excel
  • Convert date to month and year in Excel
  • Calculate years between dates in Excel
  • Sum race time splits in Excel
  • Display Date is same month in Excel

Grouping

  • Map text to numbers in Excel
  • Group numbers at uneven intervals in Excel
  • Categorize text with keywords in Excel
  • If cell contains one of many things in Excel
  • Calculate conditional mode with criteria in Excel

General

  • How to generate random number between two numbers in Excel
  • Check if multiple cells have same value with case sensitive in Excel
  • List sheet names with formula in Excel
  • How to calculate percent of students absent in Excel
  • Common Errors in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning