+ Reply to Thread
Results 1 to 3 of 3

Finding patterns and runs in my data set - Frequency function?

  1. #1
    Forum Contributor
    Join Date
    03-31-2010
    Location
    Norway
    MS-Off Ver
    Excel 365
    Posts
    632

    Finding patterns and runs in my data set - Frequency function?

    Hello all,

    In order to get a better understanding of my various variables (columns), I thought it could be interesting to measure the runs in my data.

    1. For example, I have a variable labeled % Change which is continuous and either positive or negative. So, binary. I'd then be interested in seeing how many days in the sample had:

    2 positive days in a row
    2 negative days in a row

    3 positive days in a row
    3 negative days in a row

    4 positive days in a row
    4 negative days in a row

    I can't imagine that there's any more than 10 days in a row of anything, so maybe I'd stop at 10.

    2.

    I also have some data that is not numerical and consists of just letters. For example, "A", "B", "C"

    Could I be able to do the same type of analysis with this?

    3. Other stuff that might be interesting:

    Finding the most occuring value after one value has occured. Say, today is "A". In 9/10 times the next day is "B". Is that possible?

    What tools would I likely need for setting this up?

    Could the frequency function be used?

    PS: Attaching a sample sheet.

    Thanks in advance!
    Attached Files Attached Files
    Last edited by Elijah; 10-07-2016 at 09:59 AM.

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Finding patterns and runs in my data set - Frequency function?

    Hi,

    Perhaps you could add a results table to your file, plus a few manually-calculated expected results. That way we can give you the required formulas to populate that table.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Contributor
    Join Date
    03-31-2010
    Location
    Norway
    MS-Off Ver
    Excel 365
    Posts
    632

    Re: Finding patterns and runs in my data set - Frequency function?

    Hi, XOR LX,

    Thank you.

    I updated the file in the original post and added a quick results table. I might want to set it up differently, but at least that's the idea.

    I want to measure the amount of consecutive values in a given data set. The one I set up there is binary by nature, although the data is continuous. If it helps, it's not a problem to make a new helper column which labels the data 1 for positive and zero for negative.

    Also, the values entered were completely from my own head and not actual. Thanks again.

+ 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 the frequency of patterns in data set
    By fatterthanelvis in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-27-2016, 08:28 AM
  2. Finding Frequency for Data
    By AppleMonster in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-06-2014, 01:20 PM
  3. [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
  4. Finding patterns
    By GaidenFocus in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-06-2012, 03:59 PM
  5. Finding Frequency of data
    By kavin in forum Excel General
    Replies: 3
    Last Post: 09-10-2012, 10:41 AM
  6. Finding the Standard Deviation in a Simple Frequency Data Table
    By michaelneedshelp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-25-2009, 03:25 AM
  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