+ Reply to Thread
Results 1 to 7 of 7

Trend / Pattern / Frequency Identification using formulas / Macros

  1. #1
    Registered User
    Join Date
    05-05-2010
    Location
    Midlands, England
    MS-Off Ver
    Excel 2003
    Posts
    4

    Trend / Pattern / Frequency Identification using formulas / Macros

    Hi,

    I have 100 rows of data, each with 7 random characters in them (1 character per cell, i.e. A1:G1, A2:G2....A100:G100 etc) I need to identify which characters appear together in the same rows as each other most often, in pairs.

    Can anyone help please?!

    Thanks.

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Trend / Pattern / Frequency Identification using formulas / Macros

    Why not attach a sample workbook including desired results?

  3. #3
    Registered User
    Join Date
    05-05-2010
    Location
    Midlands, England
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Trend / Pattern / Frequency Identification using formulas / Macros

    Ok, please see attached. I need to identify the most frequent pair of numbers that appear together in the same row, out of the 104 rows in the sheet.

    Many Thanks.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Trend / Pattern / Frequency Identification using formulas / Macros

    Do you know what the answer should be? I have done something, and made it 02 and 34. Will post shortly.

    This code lists all the combinations in descending order. I have to make clear that I have mostly adjusted someone else's code (bit out of my league), and only the last macro is mine. See attachment
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by StephenR; 05-05-2010 at 12:05 PM.

  5. #5
    Registered User
    Join Date
    05-05-2010
    Location
    Midlands, England
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Trend / Pattern / Frequency Identification using formulas / Macros

    I don't know what the answer is, but look forward to your solution.

    Thanks for looking at this.

    Cheers.

  6. #6
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Trend / Pattern / Frequency Identification using formulas / Macros

    Posted at the same time. See above, but you'd better check it's right!

  7. #7
    Registered User
    Join Date
    05-05-2010
    Location
    Midlands, England
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Trend / Pattern / Frequency Identification using formulas / Macros

    This is excellent, thanks a lot.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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