+ Reply to Thread
Results 1 to 8 of 8

missing number find out in conservative number series

  1. #1
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    missing number find out in conservative number series

    Hi All,
    i need a help to find out missing number in a given cumulative series numbers. column B i need number which are missing in column A in sequence missing.

    kindly consider negative numbers, but in my file only show positive numbers. you can add column for both positive and negative numbers missing.

    file is attached


    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: missing number find out in conservative number series

    With a formula this would be tricky and would need at least one helper column. With VBA it's trivial:

    Please Login or Register  to view this content.
    WBD
    Office 365 on Windows 11, looking for rep!

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,716

    Re: missing number find out in conservative number series

    You have some non number cells, ie 38A. What is supposed to happen to them? In the following code, it will do what you want so long as all non-numbers, ie. 38A have been removed from the list

    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: missing number find out in conservative number series

    Please try at B2

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

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,651

    Re: missing number find out in conservative number series

    Try:
    Please Login or Register  to view this content.
    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    Capture.PNG
    Quang PT

  6. #6
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: missing number find out in conservative number series

    Thanks for all to reply.
    Bo_Ry, your formula missed three value, 257-369-370 , but bebo021999 and WideBoyDixon coding detect perfect. i also request you to consider negative numbers including BOTH. column H and J for negative and Both ( Positive and negative) respectively results.
    i attached a new modified file for you.

    Thanks
    Attached Files Attached Files

  7. #7
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: missing number find out in conservative number series

    I forgot to lock Cell.

    J2
    =IFERROR(AGGREGATE(15,6,ROW($A$1:INDEX(H:H,MAX($H$2:$H$37)-MIN($H$2:$H$37)))+MIN($H$2:$H$37)/ISNA(MATCH(ROW($A$1:INDEX(H:H,MAX($H$2:$H$37)-MIN($H$2:$H$37)))+MIN($H$2:$H$37),$H$2:$H$37,)),ROWS(J$2:J2)),"")
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: missing number find out in conservative number series

    Thanks Bo_Ry, its perfect,
    Thanks for all other,
    Thanks a lot.
    Thanks

+ 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. to find last number and missing number in same sheet.
    By anuwers in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-08-2017, 02:14 PM
  2. [SOLVED] to find last number and missing number in series from various sheets
    By anuwers in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-16-2016, 04:17 AM
  3. [SOLVED] Find missing number and copy only missing number to another coloumn
    By vijaynadiad in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-20-2013, 02:01 PM
  4. [SOLVED] Vb code To Find the missing triplets and complete the number series..?
    By sem in forum Excel Programming / VBA / Macros
    Replies: 43
    Last Post: 05-31-2012, 02:48 PM
  5. Calculating Missing Values in Number Series
    By mike.greene in forum Excel General
    Replies: 10
    Last Post: 03-08-2012, 09:02 PM
  6. Find the missing number?
    By Djanvk in forum Excel General
    Replies: 3
    Last Post: 04-26-2006, 03:15 PM
  7. [SOLVED] Find Missing Number?
    By Djanvk in forum Excel General
    Replies: 3
    Last Post: 04-17-2006, 05:55 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