+ Reply to Thread
Results 1 to 3 of 3

Find missing combinations

  1. #1
    Registered User
    Join Date
    01-06-2013
    Location
    New York, EUA
    MS-Off Ver
    Excel 2013
    Posts
    77

    Find missing combinations

    Hi everybody,

    My excel worksheet has a series of combinations (numbers "1", "2", "3", "4", "5", "6", "7", "8", "9" and "10" combined 4 by 4), but some combinations are missing and I need a macro to identify these missing combinations.

    In order to make my problem understandable, the excel file attached shows the missing combinations in "red" (in fact these missing combinations shown in red are not displayed in the actual list).

    So, I would like to ask your help to write a macro that shows the missing combinations in columns "H" to "K".

    Thank you very much.

    John
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    03-21-2013
    Location
    cyberia
    MS-Off Ver
    Excel 2007
    Posts
    457

    Re: Find missing combinations

    hi John,

    assuming your data are as shown, in your columns C:F with no gaps but with the possible combinations in red not there (or indeed any of the possible combinations missing) then you can try the following code
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-06-2013
    Location
    New York, EUA
    MS-Off Ver
    Excel 2013
    Posts
    77

    Re: Find missing combinations

    Hi kalak,

    Your macro works perfectly !

    Thank you very much.

    John

+ 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. Excel Macro to find missing dates and insert missing date as blank row
    By JevaMarie in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-26-2013, 11:08 AM
  2. Total and Combinations known missing which items
    By Jacob.freeman in forum Excel General
    Replies: 10
    Last Post: 12-29-2010, 08:20 PM
  3. Find all possible combinations of letters
    By Double-R in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-26-2010, 09:09 AM
  4. Trying to find the all possible combinations
    By mutu in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-29-2009, 11:11 AM
  5. [SOLVED] how can i find all possible combinations
    By nomi in forum Excel General
    Replies: 3
    Last Post: 02-13-2006, 08:35 AM

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