Log in
x
or
x
x
Register
x

or
0
0
0
s2sdefault

How to identify missing numbers sequence in Excel?

Let's say you have a long list of sequence numbers to mark items, such as check numbers in bank statements, normally we scrolling through and locate the missing sequence numbers manually. Sometimes this is quite arduous and time-consuming. You may think of tricky ways to deal with it. Yes, there are several easy ways to identify and locate missing numbers sequence in Excel 2007, Excel 2010, and Excel 2013 quickly and conveniently.

Identify missing numbers sequence with IF formula

Identify missing numbers sequence with an array formula

Identify missing numbers sequence with Kutools for Excel quickly


Find and highlight missing numbers from sequence:

Kutools for Excel’s Find Missing Sequence Number feature can helper you quickly and easily find the missing sequence, and insert the missing numbers or blank rows into the existing data sequence, or fill background color when encountering the missing sequence. 

doc-identify-missing-numbers 6

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


arrow blue right bubble Identify missing numbers sequence with IF formula


As we all known, most of sequence numbers are with fixed increment of 1, such as 1, 2, 3, …, N. Therefore, if you can identify the number is not less 1 than its following number, there is a missing number.

We will show you the tutorials with an example as following screenshot shows:

doc identify missing numbers 1

1. In a blank cell, enter the formula of =IF(A3-A2=1,"","Missing"), and press the Enter key. In this case, we enter the formula in Cell B2.

doc-identify-missing-numbers2

If there is no missing numbers, this formula will return nothing; if missing numbers exist, it will return the text of "Missing" in active cell.

2. Select the cell B2 and drag the fill handle over the range of cells that you want to contain this formula. Now it identifies the missing numbers with the text of "Missing" in corresponding cells of Column B. See the following screenshot:

doc-identify-missing-numbers3


arrow blue right bubble Identify missing numbers sequence with an array formula

Sometimes it requires not only identifying missing numbers sequence, but also listing missing numbers too. You can deal it with following steps:

1. in the adjacent cell, please enter the formula = SMALL(IF(ISNA(MATCH(ROW(A$1:A$30),A$1:A$30,0)),ROW(A$1:A$30)),ROW(A1))

A1:A30 = range of numbers, the sequence to check against is from 1 to 30

2. Press the Ctrl + Shift + Enter Keys together to finish the formula. Copy down the formula until you get #NUM! errors meaning all missing numbers have been listed. See screenshot:

doc-identify-missing-numbers4


arrow blue right bubble Identify missing numbers sequence with Kutools for Excel quickly

The above methods only can identify the missing pure number sequence, if you have the sequence such as AA-1001-BB, AA-1002-BB, they may not work successfully. But, don't worry, Kutools for Excel’s powerful feature – Find Missing Sequence Number can help you quickly identify the missing sequence.

Kutools for Excel : with more than 120 handy Excel add-ins, free to try with no limitation in 60 days. 

After installing Kutools for Excel, please do as follows:

1. Select the data sequence that you want to find the missing sequence.

2. Click Kutools > Insert > Find Missing Sequence Number, see screenshot:

doc-identify-missing-numbers 5

3. In the Find Missing Sequence Number dialog box:

(1.) If you choose Inserting new column with following missing marker option, all the missing sequence numbers have been marked with the text Missing in a new column next to your data. See screenshot:

doc-identify-missing-numbers 6

(2.) If you choose Inserting missing sequence number option, all the missing numbers have been inserted into the sequence list. See screenshot:

doc-identify-missing-numbers 7

(3.) If you choose Inserting blank rows when encounting missing sequence numbers option, all blank rows are inserted when there are missing numbers . See screenshot:

doc-identify-missing-numbers 8

(4.) If you choose Fill background color option, the location of the missing numbers will be highlighted at once. See screenshot:

doc-identify-missing-numbers 9


arrow blue right bubble Identify missing numbers sequence with Kutools for Excel quickly

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Recommended Productivity Tools

Office Tab

gold star1 Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer.

Kutools for Excel

gold star1Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!

gold star1200 New Features for Excel, Make Excel Much Easy and Powerful:

  • Merge Cell/Rows/Columns without Losing Data.
  • Combine and Consolidate Multiple Sheets and Workbooks.
  • Compare Ranges, Copy Multiple Ranges, Convert Text to Date, Unit and Currency Conversion.
  • Count by Colors, Paging Subtotals, Advanced Sort and Super Filter,
  • More Select/Insert/Delete/Text/Format/Link/Comment/Workbooks/Worksheets Tools...

Screen shot of Kutools for Excel

btn read more      btn download     btn purchase

Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
People in conversation:
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Faizan · 2 years ago
    [google]send formul[/google]
  • To post as a guest, your comment is unpublished.
    Rick · 2 years ago
    Thats a beautiful post however the VBA macro code has a serious error, when you give it start and end number, it misses many randomly and thus the missing number list is incorrect. For example : in 1 to 100, I found 67 is not generated hence the missing number list never list 67 even if its not there.

    Any idea how to fix it ?
  • To post as a guest, your comment is unpublished.
    Shivi · 2 years ago
    Hi, After using the missing formula I am able to find how many values are missing from my data. However when I try to find what exact values (numbers) are missing its giving me an error. I have more than 7700 rows of data missing. Now these values missing are from multiple cheque book and each cheque book has 50 leafs. These 7700 are the missing leafs and missing numbers are in no order. By no order I mean 1st cheque or 2nd or 5th 35th 48th number anything could be missing. Plus I cannot even define a range as in case above. What should I do, please advice.
  • To post as a guest, your comment is unpublished.
    Shivi Bhatia · 2 years ago
    Hi Sir,

    This example above is nothing short of a miracle similar to what a pace maker is to a heart patient. Cant express my thanks in words but you are a god saver
  • To post as a guest, your comment is unpublished.
    Chris · 3 years ago
    Is there a way to include a blank row for each missing number without losing the format/data