+ Reply to Thread
Results 1 to 2 of 2

Having 1 column add up word occurances from 2 other colums & sort?

  1. #1
    Registered User
    Join Date
    10-15-2008
    Location
    West Des Moines, IA
    MS-Off Ver
    Excel 2007
    Posts
    40

    Having 1 column add up word occurances from 2 other colums & sort?

    So, I have two columns on a sheet that all contain drop down boxes for various information. We'll refer to them as column 1 and column 2.

    In column 3, I want to have the highest instances of those words sorted with the highest on top, and downward from there, along with the number of times it appears in either column 1 or 2. (And I want the sorting to be dynamic, i.e. when I change what's in column 1 or 2, it will re-rank them according to highest number)

    i.e.


    Column1 Column2 Column3 (Column4-#)
    Bob Tom Bob 5
    Joe Bob Tom 2
    Bob Joe 1
    Tom Bob
    Bob


    Obviously, there would be more choices, but I'm being simple here. I have the drop downs and what not for the 1st 2 columns, I just need to know how to make 3 & 4 happen. Any help would be appreciated!
    Last edited by szm187; 09-20-2013 at 11:15 AM.

  2. #2
    Valued Forum Contributor tehneXus's Avatar
    Join Date
    04-12-2013
    Location
    Hamburg, Germany
    MS-Off Ver
    Work: MS-Office 2010 32bit @ Win8 32bit / Home: MS-Office 2016 32bit @ Win10 64bit
    Posts
    944

    Re: Having 1 column add up word occurances from 2 other colums & sort?

    Hi,

    please find a VBA solution attached: Count.xlsm
    Please use [CODE]-TAGS
    When your problem is solved mark the thread SOLVED
    If an answer has helped you please click to give reputation
    Read the FORUM RULES

+ 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: 4
    Last Post: 04-23-2013, 05:34 AM
  2. Replies: 5
    Last Post: 05-11-2012, 03:38 AM
  3. Macro to sort colums and protect after sort
    By SilverFox in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-05-2009, 07:12 AM
  4. Return top 3 occurances of word in list
    By Steel Monkey in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-17-2006, 02:45 AM
  5. [SOLVED] count number of occurances of a word in a range
    By John Davies in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-24-2006, 09:50 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