+ Reply to Thread
Results 1 to 5 of 5

Creating a dynamic list of strings and ranking how often they appear?

Hybrid View

  1. #1
    Registered User
    Join Date
    04-23-2014
    Location
    United States
    MS-Off Ver
    Excel 2016 ProPlus
    Posts
    13

    Creating a dynamic list of strings and ranking how often they appear?

    I'm pulling some information from a database, where we have a bunch of different strings (modules for a piece of software). I'd like to be able to create a ranked list of how often they appear.

    For example:

    BugID       Module
    -------     -------------------
    515         Core
    516         Audio
    517         Bios
    518         Core
    519         Audio
    520         Hardware
    I'd like to be able to generate a list that looks like this:

    
    Module                     Count
    -------------------       -------
    Audio                        2
    Core                         2
    Bios                         1
    Hardware                     1
    I was trying to avoid doing it in a VB macro if possible. There's a lot of different module names so need some way to capture the strings from the "module" cells and then count how many times they appear and rank them.

    Thanks for any help!

  2. #2
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Creating a dynamic list of strings and ranking how often they appear?

    HI,

    As the formula in Column E is array function in case of any change , use Ctrl+Shift+Enter combination key to activate array.
    '
    Formula in E3
    Formula: copy to clipboard
    =IFERROR(INDEX($B$3:$B$500,MATCH(0,COUNTIF($E$2:E2,$B$3:$B$500),0)),"")

    Formula in F3
    =IF(E3="","",COUNTIF($B$3:$B$500,E3))
    Punnam
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-23-2014
    Location
    United States
    MS-Off Ver
    Excel 2016 ProPlus
    Posts
    13

    Re: Creating a dynamic list of strings and ranking how often they appear?



    That was fast, thanks so much!!

  4. #4
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Creating a dynamic list of strings and ranking how often they appear?

    Hi Justmill,

    Thanks for the feedback. if the Question answered mark the thread solved using the thread Tools

    Punnam

  5. #5
    Registered User
    Join Date
    04-23-2014
    Location
    United States
    MS-Off Ver
    Excel 2016 ProPlus
    Posts
    13

    Re: Creating a dynamic list of strings and ranking how often they appear?

    Done, 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. [SOLVED] Creating a Dynamic List where a Condition is Met
    By gmt1975 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-07-2012, 12:52 AM
  2. Creating Dynamic List
    By Tomboy in forum Excel General
    Replies: 1
    Last Post: 05-29-2012, 10:54 PM
  3. Replies: 4
    Last Post: 03-09-2012, 10:54 AM
  4. Creating a ranked list on dynamic data.
    By dcgrove in forum Excel General
    Replies: 0
    Last Post: 09-21-2009, 05:08 PM
  5. Looking for help creating dynamic list numbers
    By Excl in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-22-2006, 04:16 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