+ Reply to Thread
Results 1 to 8 of 8

Find missing numbers in unsorted list of numbers

  1. #1
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Find missing numbers in unsorted list of numbers

    Hello everyone
    I have in column A >> range("A1:A5") some numbers which are not in a sequence

    I searched and found a formula and I could edit it so as to get the missing numbers according to the min and max numbers
    I need to convert this formula to vba code so as to get the same results as illustrated in Column C
    Thanks advacned for any help
    Attached Files Attached Files
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Find missing numbers in unsorted list of numbers

    This should work
    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Find missing numbers in unsorted list of numbers

    Excellent Mr. mikerickson

    Thank you very much for this wonderful code
    Just one point I need to get the results starting in E1 not in E2
    Thanks advanced

  4. #4
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Find missing numbers in unsorted list of numbers

    Just one point I need to get the results starting in E1 not in E2
    Thanks advanced

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Find missing numbers in unsorted list of numbers

    @YasserKhalil

    Try to understand the code (learn from it).

    Test it on your files (without saving it).

    Do you find E1 in the code ?

    Change this in E2 and test the code.

    Please share the result on the forum.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  6. #6
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Find missing numbers in unsorted list of numbers

    I tested it and change E1 to E2 and get the same results starting from E2
    and change E2 to E3 the same thing .. It is not related to the starting point ..
    I mean the starting point of results

  7. #7
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Find missing numbers in unsorted list of numbers

    Then show us the excel file, what you have after running the macro.

    Please also add the expected result in your file (manualy).

  8. #8
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Find missing numbers in unsorted list of numbers

    I could alter to get my results
    Please Login or Register  to view this content.
    Thanks a lot Mr. oeldere for offering help

+ 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. How to find missing numbers from a list in excel 2010?
    By prabhakareord in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-13-2013, 03:36 PM
  2. Replies: 4
    Last Post: 07-29-2012, 08:40 AM
  3. Replies: 1
    Last Post: 05-30-2012, 06:29 AM
  4. Find Missing Numbers
    By kapeller in forum Excel General
    Replies: 16
    Last Post: 02-11-2011, 10:09 PM
  5. [SOLVED] to find missing serial numbers in randomly generated numbers
    By B.H. Hadi in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-01-2005, 07:00 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