+ Reply to Thread
Results 1 to 8 of 8

Find most common numbers and number combinations

  1. #1
    Registered User
    Join Date
    07-16-2018
    Location
    Chile
    MS-Off Ver
    2007
    Posts
    4

    Find most common numbers and number combinations

    I have an Excel sheet with a huge amount of different number combinations. Now I was wondering if it would be possible to indicate how many times a certain number occurs (if I search how many times the number '1' occurs, I don't want Excel to count the number '11') and to show what number combinations occur the most. All the combinations I have at the moment are unique, but I want to check how many times a combination of for example the same first three numbers occurs. I have no idea if this is remotely possible in Excel. Attached is a screenshot to clarify what I'm trying to ask. Thanks in advance for your answers.
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Find most common numbers and number combinations

    Pl upload a same file showing results also.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Find most common numbers and number combinations

    Pl see file.
    For first problem
    Please Login or Register  to view this content.
    Pl explain second problem with example.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    07-16-2018
    Location
    Chile
    MS-Off Ver
    2007
    Posts
    4

    Re: Find most common numbers and number combinations

    Thanks a lot for the solution to the first problem. As for the second:

    1 22 13 15 19 21
    89 77 1 20 40 50
    34 46 23 1 44 5
    13 77 1 20 40 50
    1 22 13 23 1 44 5

    The first and last combination start with the same three numbers and the last combination ends with the same four numbers as the third combination. The second and fourth combination are almost identical, apart from the first number. I would like Excel to show when these kind of similarities occur, for example with different colours (or another way to distinguish the similar combinations). Do you understand what I mean and is this possible?
    Last edited by Raymundo46; 07-17-2018 at 09:08 AM.

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Find most common numbers and number combinations

    It is better to go for conditional formatting. Upload a sample file.

  6. #6
    Registered User
    Join Date
    07-16-2018
    Location
    Chile
    MS-Off Ver
    2007
    Posts
    4

    Re: Find most common numbers and number combinations

    Here's a sample. The column A is just to number the different combinations and therefore should not be a part of any formula.

    - I14 and C16 start with the same three numbers, H88 as well and maybe more
    - G5 and J259 end with the same three numbers
    - H48 and J49 have the same second, third and fourth number

    I want Excel to mark these similarities, so that I can see what kind of combinations occur the most.
    Attached Files Attached Files
    Last edited by Raymundo46; 07-17-2018 at 02:03 PM.

  7. #7
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Find most common numbers and number combinations

    if i got it right
    CF if number in corresponding cell is greater than R3.value
    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    07-16-2018
    Location
    Chile
    MS-Off Ver
    2007
    Posts
    4

    Re: Find most common numbers and number combinations

    I'm not exactly sure what I'm looking at in the file you've uploaded. Could you please explain it a little bit?

+ 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. Replies: 1
    Last Post: 06-04-2014, 05:40 PM
  2. How to find the most common numbers?
    By alikirca20 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 02-04-2013, 09:34 AM
  3. Replies: 10
    Last Post: 01-24-2012, 08:58 PM
  4. Find out what these numbers have in common
    By morsoe in forum Excel General
    Replies: 3
    Last Post: 07-27-2011, 07:39 AM
  5. Find all possible combinations of letters and numbers
    By grifter_1229 in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 09-15-2010, 08:09 AM
  6. find common occurrence of numbers
    By tachyon in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-26-2008, 10:21 AM
  7. Find combinations of numbers to equal a value
    By jubu in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-18-2005, 09:06 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