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

Data Analysis

  • How to Create Thermometer Chart in Excel
  • Create Scatter Chart in Excel
  • How To Sort One Column or Multiple Columns in Excel
  • Conditional Formatting Rules in Excel
  • How to create Gauge Chart in Excel

References

  • How to reference named range different sheet in Excel
  • Excel Advanced Lookup using Index and Match Functions
  • Two-way lookup with VLOOKUP in Excel
  • How to use Excel ROW Function
  • Multi-criteria lookup and transpose in Excel

Data Validations

  • Excel Data validation date in specific year
  • Excel Data validation must contain specific text
  • Excel Data validation allow weekday only
  • Data validation must not exist in list
  • Excel Data validation no punctuation

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

  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • Invoice status with nested if in Excel
  • IF with wildcards in Excel
  • How to return blank in place of #DIV/0! error in Excel

Date Time

  • Convert text date dd/mm/yy to mm/dd/yy in Excel
  • Convert date to Julian format in Excel
  • How to get number of days, weeks, months or years between two dates in Excel
  • Add decimal minutes to time in Excel
  • WORKDAY function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Map text to numbers in Excel
  • How to randomly assign people to groups in Excel
  • How to randomly assign data to groups in Excel
  • Group arbitrary text values in Excel
  • Group times into 3 hour buckets in Excel

General

  • Excel Ribbon Quick Overview For Beginners
  • Currency vs Accounting Format in Excel
  • How to calculate percent change in Excel
  • How to calculate percent of goal in Excel
  • How to test a range for numbers in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning