+ Reply to Thread
Results 1 to 5 of 5

how can we find out any missed number in a series?

  1. #1
    Excel
    Guest

    how can we find out any missed number in a series?



  2. #2
    Niek Otten
    Guest

    Re: how can we find out any missed number in a series?

    If your numbers are in column A, enter this formula in B2:

    =IF(A2-A1=1,"",A2-A1-1)

    and copy down as far as needed

    --
    Kind regards,

    Niek Otten

    "Excel" <[email protected]> wrote in message news:[email protected]...
    |



  3. #3
    Ardus Petus
    Guest

    Re: how can we find out any missed number in a series?

    Assuming your series is in range A1:A999
    Enter following formula in B2
    =A2=A1+1

    All FALSE results will mark the places where there are missing numbers

    HTH
    --
    AP

    "Excel" <[email protected]> a écrit dans le message de news:
    [email protected]...
    >




  4. #4
    Niek Otten
    Guest

    Re: how can we find out any missed number in a series?

    This one indicates how many there are missing

    --
    Kind regards,

    Niek Otten

    "Niek Otten" <[email protected]> wrote in message news:[email protected]...
    | If your numbers are in column A, enter this formula in B2:
    |
    | =IF(A2-A1=1,"",A2-A1-1)
    |
    | and copy down as far as needed
    |
    | --
    | Kind regards,
    |
    | Niek Otten
    |
    | "Excel" <[email protected]> wrote in message news:[email protected]...
    ||
    |
    |



  5. #5
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996
    With your list of values in Col_A (eg 1,2,5,6,10,11,15,20,21,25)

    This ARRAY FORMULA* lists the missing items in ascending order:

    B1: =INDEX(ROW($A$1:INDEX(A:A,MAX(A:A))),SMALL(IF(COUNTIF($A$1:INDEX(A:A,MAX(A:A)),ROW($A$1:INDEX(A:A,MAX(A:A)))+MIN(A:A)-1)=0,ROW($A$1:INDEX(A:A,MAX(A:A)))+MIN(A:A)-1),ROWS($1:1))-MIN(A:A))+MIN(A:A)

    Copy B1 and paste it into B2 and down as far as you need

    Note: For array formulas, hold down [Ctrl] and [Shift] when you press [Enter], instead of just pressing [Enter].

    Does that help?

    Regards,
    Ron

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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