+ Reply to Thread
Results 1 to 3 of 3

Find missing numbers and duplicate numbers and color code each

  1. #1
    Forum Contributor
    Join Date
    12-14-2005
    Location
    US
    MS-Off Ver
    Excel 2019, Excel 365, Excel Mobile (Android)
    Posts
    191

    Find missing numbers and duplicate numbers and color code each

    I have attached an example workbook. In col B I have a series of numbers that have been sorted from lowest to highest. What I am looking for is code that I can attach to a macro that will sort the col from lowest to highest then find where a number or numbers are missing and color the top and bottom so it is clear there are number missing between and the find any number that are duplicates and color them a color different from the other.

    Thanks for any help provided.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,781

    Re: Find missing numbers and duplicate numbers and color code each

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by JohnTopley; 10-27-2023 at 03:53 AM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Find missing numbers and duplicate numbers and color code each

    Frick,

    Simple CF, no loop.
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. Find the missing numbers???
    By briant2468 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-16-2021, 03:32 PM
  2. Identification of duplicate numbers and missing numbers in multiple columns
    By kswapnadevi in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-18-2018, 11:50 AM
  3. Replies: 4
    Last Post: 10-19-2017, 08:12 AM
  4. [SOLVED] Find missing numbers in unsorted list of numbers
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-01-2015, 05:15 AM
  5. [SOLVED] RANK duplicate numbers without missing in sequence
    By Simmo81 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 07-26-2014, 09:24 AM
  6. Find Missing Numbers
    By portal in forum Excel General
    Replies: 1
    Last Post: 04-05-2008, 09:09 AM
  7. [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