+ Reply to Thread
Results 1 to 10 of 10

finding recurrent patterns

  1. #1
    Registered User
    Join Date
    03-23-2023
    Location
    Brussels
    MS-Off Ver
    365
    Posts
    3

    finding recurrent patterns

    Hi there,
    I'm trying to find a way to analyze a set of data to find recurrent patterns.
    I provide an example, where I want to see if team leads are working together frequently. In the given example I want to find that Ellen, Thomas and Joey frequently work together.
    Kind regards,
    Kim example recurring boxes.xlsx

  2. #2
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: finding recurrent patterns

    One way I guess...
    Please Login or Register  to view this content.
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

  3. #3
    Registered User
    Join Date
    03-23-2023
    Location
    Brussels
    MS-Off Ver
    365
    Posts
    3

    Re: finding recurrent patterns

    sorry, I didn't explain clearly. I want to know if there is a functionality that gives me the outcome that Ellen, Thomas and Joey frequently work together. I made the example so i know these 3 names, but in reality I do not know who works together.
    K

  4. #4
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: finding recurrent patterns

    So what's the pattern frequency?

  5. #5
    Registered User
    Join Date
    03-23-2023
    Location
    Brussels
    MS-Off Ver
    365
    Posts
    3

    Re: finding recurrent patterns

    That's what I need to find out, who works together and in what frequency. The real table has 26.000 entries.

  6. #6
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: finding recurrent patterns

    If you are able to supply your expected output result for a small data set and in your expected format then I am very certain that someone will be able to supply a solution...

  7. #7
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,396

    Re: finding recurrent patterns

    I want to know if there is a functionality that gives me the outcome that Ellen, Thomas and Joey frequently work together.
    If I think of the people (Ellen, Thomas, and Joey) as "products in a store" (they will probably get offended at the possibility, so I won't tell them) and the "boxes" as "transactions" (the boxes probably won't like me, either), then this looks an awful lot like market basket analysis.

    IMO, by far the easiest way to do MBA is to get a preprogrammed utility. To my knowledge, Excel does not come with a pre-programmed utility (there was a brief time as part of the 2013 version, I think, where it did). If you are allowed to use utilities from outside Excel, Power Query might have an MBA utility, Power BI likely does (see tutorial here: https://blog.finance-bi.com/power-bi-basket-analysis/ ), Frontline's XLMiner (Frontline provides Excel's Solver utility) can do MBA (tutorial here: https://www.data-mania.com/blog/mark...ysis-in-excel/ ).

    If you decide you are limited to native Excel tools, this guy appears to walk you through an approach that uses native Excel tools (I didn't sit through the whole video, so could be mistaken: https://www.youtube.com/watch?v=aslTl6i-hpQ ).

    MBA is an old programming problem, so the easiest solution is to find someone else's solution and use it. If you are required to build your own utility, at least look at how others have solved the problem so you can understand the algorithms behind the problem.

    How would you like to proceed? How can we help?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  8. #8
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2019
    Posts
    4,542

    Re: finding recurrent patterns

    The is what we I called "Also Buy". Customers who bought a certain product, what other products they also bought at the same time.

    My way of doing it is a long way and only works on one selected product (team lead in this case) at a time, not much of a matrix.

    Hopefully you guys can improve on it.

    I created 3 helper columns C, D and E. Column C finds the invoices (boxes) with the selected product (team leader), column D ticks off all the invoices (boxes) of the selected products (team lead) and column E finds all the products (team lead) of these invoices (boxes)

    Then it is a matter of using COUNTIF to find how many times the selected product (team lead) have been purchased (appeared) during the period and how many times other products (team leads) are purchased (appeared) together.

    Note: invoice = box, product = team lead
    Attached Files Attached Files

  9. #9
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: finding recurrent patterns

    Not too sure why it looked so difficult, this is just generating combinations and checking whether each combination occurred in a group.
    Please Login or Register  to view this content.
    1. I care dog
    2. I am a loop maniac
    3. Forum rules link : Click here
    3.33. Don't forget to mark the thread as solved, this is important

  10. #10
    Forum Expert CheeseSandwich's Avatar
    Join Date
    12-22-2021
    Location
    Kent, England
    MS-Off Ver
    365 - 2501
    Posts
    1,444

    Re: finding recurrent patterns

    Maybe setting it out like a matrix will make spotting patterns easier on the eye:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    If things don't change they stay the same

+ 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. Finding patterns in a database
    By neutral5 in forum Excel General
    Replies: 3
    Last Post: 11-30-2019, 04:05 PM
  2. Finding patterns in column
    By Jamesmc01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-20-2019, 11:42 AM
  3. help finding patterns in columns?
    By HMexcel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-05-2019, 01:54 PM
  4. finding the frequency of patterns in data set
    By fatterthanelvis in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-27-2016, 08:28 AM
  5. [SOLVED] finding patterns in a range of cells
    By shart2k12 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-27-2013, 11:07 AM
  6. Finding patterns
    By GaidenFocus in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-06-2012, 03:59 PM
  7. Finding same patterns in groupings of cells
    By modoud in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-19-2007, 01:19 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