+ Reply to Thread
Results 1 to 3 of 3

Macro to Display the Top 5 Most Frequently Occurring Part Numbers

  1. #1
    Registered User
    Join Date
    02-13-2014
    Location
    FL, United States
    MS-Off Ver
    Excel 2007
    Posts
    33

    Post Macro to Display the Top 5 Most Frequently Occurring Part Numbers

    Hi everyone!

    I'd like to create a macro to display the top 5 most frequently occurring repairs on sheet 3 of my workbook. I'd like the macro to analyse all the sheets in my workbook except for the first 3 and then output the results on the 3rd sheet from T50 onward. I have attached a template as an example of how all the sheets in the workbook look (excluding the first 3). All the sheets have the same layout as the "Survey Template" worksheet.The repairs are located under the Log Book Review of Historical Structural Repair in the Survey Template worksheet and all the repairs are picked through a drop down list that is based on a table of repairs listed in the Parts and Prices sheet within the workbook. I have assigned random serial numbers to the repairs (if that makes it any easier to code instead of locating exact string matches). Any help would be greatly appreciated. Thanks!

    Best wishes,
    Hackboss007
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Macro to Display the Top 5 Most Frequently Occurring Part Numbers

    Hi,

    I've attached an example of how I would do this as a formula approach.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-13-2014
    Location
    FL, United States
    MS-Off Ver
    Excel 2007
    Posts
    33

    Re: Macro to Display the Top 5 Most Frequently Occurring Part Numbers

    Hi ragulduy!

    I was able to get a working macro to find the most frequently occurring repairs in terms of serial numbers. I then used Vlookup from the table to display the repairs corresponding to the highest occurrences. Thanks though.

    Best wishes,
    Hackboss007

+ 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: 13
    Last Post: 09-29-2015, 11:22 AM
  2. Return most frequently occurring text in row
    By penfold in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-13-2011, 12:38 PM
  3. Count and identify most frequently occurring words
    By SueWithQuestion in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-24-2011, 01:25 PM
  4. Most frequently occurring text
    By Deanomcbeano in forum Excel General
    Replies: 4
    Last Post: 08-12-2009, 08:58 AM
  5. most frequently occurring value
    By Pivotrend in forum Excel General
    Replies: 3
    Last Post: 12-23-2005, 08:10 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