+ Reply to Thread
Results 1 to 6 of 6

Formula for identify missing numbers from a given range.

  1. #1
    Registered User
    Join Date
    09-15-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    8

    Formula for identify missing numbers from a given range.

    Hi All,

    Does anyone know how to use a formula to identify the MISSING numbers from the range smallest to largest (given below the range 1640-1875)? For eg:-

    Column A(range 1640-1875) Column B - Here it should display the missing numbers from the given
    range
    1646
    1643
    1648
    1649
    1641
    1790
    1796
    1805
    1804
    1807
    1810
    1863
    1875

    Regards

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Formula for identify missing numbers from a given range.

    Hi,

    There are no doubt many ways. A simple and pragmatic non VBA way is the following.

    List the numbers 1640-1875 in a spare column say C1:C236
    Then in B1 enter
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Copy this down to B236
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    01-28-2014
    Location
    Turkey
    MS-Off Ver
    Excel 2013
    Posts
    159

    Re: Formula for identify missing numbers from a given range.

    B2 = 1640 (Min value)
    B3 = 1875 (Max value)

    B4 cell
    Please Login or Register  to view this content.
    C2 cell
    Please Login or Register  to view this content.
    This is an Array Formula (C2 cell formula) confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Then drag down.

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,915

    Re: Formula for identify missing numbers from a given range.

    See the attached file
    Attached Files Attached Files
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,915

    Re: Formula for identify missing numbers from a given range.

    Ali Kırksekiz inspired from @ Ali Kırksekiz


    can try the below formula in cell B1 in the attached file in Post No 4
    =IFERROR(ROW(INDEX(A:A,SMALL(INDEX(ISNUMBER(MATCH(ROW(INDIRECT($D$1&":"&$D$2-1)),A$1:A$13,0))*10^10+ROW(INDIRECT($D$1&":"&$D$2-1)),0),ROW(A1)))),"")

  6. #6
    Registered User
    Join Date
    09-15-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    8

    Re: Formula for identify missing numbers from a given range.

    Thank you for the reply.

    Actually I am not so good with excel. Would be highly obliged if you could please explain me the formula given in the attached document provided by you (Missing Numbers).

    Reason being I just don't want to copy paste the formula, I really want to understand it first and then work with it.

    Regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Identify Unused Numbers/Missing Numbers
    By gurp99 in forum Excel General
    Replies: 1
    Last Post: 05-31-2011, 07:11 PM
  2. Identify missing numbers
    By swmasson in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-14-2008, 10:40 AM
  3. Identify missing numbers
    By tip in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 04-07-2008, 10:45 PM
  4. [SOLVED] Identify missing record numbers
    By Earl in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-16-2005, 11:10 AM
  5. Identify missing record numbers
    By kabobot in forum Excel General
    Replies: 4
    Last Post: 01-05-2005, 02:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1