+ Reply to Thread
Results 1 to 5 of 5

Identifying correlations within row & counting no. of times it appear within array

  1. #1
    Registered User
    Join Date
    01-13-2019
    Location
    Kuala Lumpur
    MS-Off Ver
    2016
    Posts
    2

    Identifying correlations within row & counting no. of times it appear within array

    Edited:

    My objective is to understand how much each pattern is in correlation with another pattern within the rows and subsequently how many times that same correlation occurs within array of B:N

    e. g row no 1 would have had correlations between patterns 19 with 232, 19 with 126, 19 with 45, 19 with 467 and counting only row 1, it would be a count of 1 for each pattern.
    if 19 with 232 is found again somewhere further down in another row, the calculation would pick up and display 2 counts of this combination.

    One way is by exhibiting through the output table sheet that i have attached in the workbook but i would welcome any opinion!

    Thanks alot!

    Paul
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Spacecasy; 01-14-2019 at 09:39 AM. Reason: moderated

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Difficult to describe problem below...

    The narrative says 'pattern' but the sample indicates 'value', so what is the real data being counted? A pattern comparison would return all two numerical digit entries for a the green value '87'. Where if values were compared only those matching '87' would be returned.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,609

    Re: Difficult to describe problem below...

    (How to) Upload a Workbook directly to the Forum
    (please do not post pictures or links to worksheets)
    • Click Advanced next to "Post Quick Reply" button at the bottom right of the editor box.
    • Scroll down until you see "Manage Attachments",
    • Click the "Choose" button at the upper left (upload from your computer).
    • Select your file, click "open", click "upload"
    • Once the upload is completed the file name will appear below the input boxes in this window.
    • Close the Attachment Manager window.
    • Click "Submit Reply"
    Note: Please do not attach password protected workbooks/worksheets
    Ensure to disable any Workbook Open/Autorun macros before attaching!


    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 6)
    Ben Van Johnson

  4. #4
    Registered User
    Join Date
    01-13-2019
    Location
    Kuala Lumpur
    MS-Off Ver
    2016
    Posts
    2
    Believe the edited post is abiding by the rules of the forum?

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: Identifying correlations within row & counting no. of times it appear within array

    Hello Paul and Welcome to Excel Forum.
    Thank You for changing the title.
    Like JLGWhiz, I am confused as to the objective. I feel that the best way is to demonstrate what you want by uploading a much smaller 'Patterns' table, perhaps 5 rows by 5 columns, using numbers 1 to 10. Then manually fill in the values in the corresponding output table as you would expect them to be displayed. We may then attempt to replicate your output using formulas/code, which you would then, hopefully, be able to apply to your actual data.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. [SOLVED] Need Gradebook Help (unsure of how to describe problem)
    By calebjcook in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-09-2015, 09:40 PM
  2. Difficult V Look up and if function together problem
    By tentop6521 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-23-2014, 04:00 PM
  3. difficult lookup problem
    By amartino44 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-17-2013, 10:25 AM
  4. Describe my problem? Where do I start....
    By Bulldog63 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 11-13-2012, 01:49 AM
  5. I'm not even sure how to describe this problem
    By EarlMachen in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-02-2008, 05:29 PM
  6. Replies: 0
    Last Post: 08-26-2007, 10:49 AM
  7. a difficult problem
    By x taol in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2006, 02:19 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