+ Reply to Thread
Results 1 to 14 of 14

Spit out a list of missing numbers in sequence?

  1. #1
    Registered User
    Join Date
    09-05-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    71

    Spit out a list of missing numbers in sequence?

    Any easy way to have excel make a list of numbers missing in a sequence? For example in the list below, the list would be like - 4,9,15, etc.... THANKS!

    1
    2
    3
    5
    6
    7
    8
    10
    11
    12
    13
    14
    16
    18
    20
    21
    22
    23
    25
    26
    30
    31
    33
    34
    35
    36
    37
    38
    39
    40
    42
    43
    47
    48
    49
    50
    51
    52
    53
    54
    55
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    226
    227
    228
    229
    230
    231
    232
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    256
    257
    259
    260
    267
    268
    269
    270
    271
    272
    273
    274
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    323
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    337
    339
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    619
    620

  2. #2
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Spit out a list of missing numbers in sequence?

    Couldn't this be done with an =IF statement checking if the difference between two numbers is greater than 1?

  3. #3
    Registered User
    Join Date
    09-05-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    71

    Re: Spit out a list of missing numbers in sequence?

    YES, but ultimately I would like a list to be produced more automatically than having to go through each instance like this, I have a list of thousands of numbers etc...

  4. #4
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Spit out a list of missing numbers in sequence?

    Well the =IF statement could be a helper column, and then you could create a consolidated list of the results wherever you'd like. Will you be performing this operation just once or repeatedly on different lists of numbers?

  5. #5
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Spit out a list of missing numbers in sequence?

    Perhaps have a template that has all the values available then do a vlookup to check the value, and autofilter to display the missing values
    Attached Files Attached Files

  6. #6
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,336

    Re: Spit out a list of missing numbers in sequence?

    Hi,

    Try this attached workbook. Look at the formulas in columns B and C.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  7. #7
    Registered User
    Join Date
    09-05-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    71

    Re: Spit out a list of missing numbers in sequence?

    JieJenn, this is perfect, can you explain a little bit about how you created the pulldown menu thingies?

  8. #8
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Spit out a list of missing numbers in sequence?


  9. #9
    Registered User
    Join Date
    09-05-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    71

    Re: Spit out a list of missing numbers in sequence?

    yes ... thanks

  10. #10
    Valued Forum Contributor
    Join Date
    07-29-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003/Excel 2010
    Posts
    534

    Re: Spit out a list of missing numbers in sequence?

    Another option:
    Attached Files Attached Files

  11. #11
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Spit out a list of missing numbers in sequence?

    hi, Try this array formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Ref the attachment..
    Attached Files Attached Files
    Click just below left if it helps, Boo?ath?

  12. #12
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2504
    Posts
    13,736

    Re: Spit out a list of missing numbers in sequence?

    Another array formula approach:

  13. #13
    Registered User
    Join Date
    11-02-2014
    Location
    Nairobi
    MS-Off Ver
    2010
    Posts
    4

    Re: Spit out a list of missing numbers in sequence?

    You may also an array formula as shown below: The formula compares the numbers against the row numbers (which are static) and gives an output of the specific 'row number' that is missing from the array

    =SMALL(IF(COUNTIF(A:A,ROW($A$1:$A$620))=0,ROW($A$1:$A$620),""),ROW())

  14. #14
    Registered User
    Join Date
    11-02-2014
    Location
    Nairobi
    MS-Off Ver
    2010
    Posts
    4

    Re: Spit out a list of missing numbers in sequence?

    You may also an array formula as shown below: The formula compares the numbers against the row numbers (which are static) and gives an output of the specific 'row number' that is missing from the array

    =SMALL(IF(COUNTIF(A:A,ROW($A$1:$A$620))=0,ROW($A$1:$A$620),""),ROW())

+ 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. Macro to add missing numbers in a sequence
    By webfeet2 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-10-2015, 10:34 AM
  2. find missing numbers in a sequence
    By kaytoo in forum Excel General
    Replies: 1
    Last Post: 06-13-2006, 12:15 PM
  3. How do I find a missing number in a sequence of numbers?
    By Nash in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 11:05 AM
  4. Finding numbers missing from a sequence
    By andy in forum Excel General
    Replies: 4
    Last Post: 04-08-2005, 12: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