+ Reply to Thread
Results 1 to 9 of 9

VBA code needed: Posting three most appearing text string in a culomn

  1. #1
    Registered User
    Join Date
    08-17-2014
    Location
    israel
    MS-Off Ver
    2010
    Posts
    5

    Thumbs up VBA code needed: Posting three most appearing text string in a culomn

    Hello All,

    After many, many unsuccessful attempts to solve this issue using regular Excel formulas, asking for your assistance.
    I'm currently building a file which analyze network monitor capture files, and got stuck on the part which the file need to automatically post the "three most appearing text string" in a certian culomn (posting the result at different location then the source).

    Further information is attached in the PS.

    If anyone know how it can be done, i'll be extremely greatful for your assistance.

    Greetings,

    Elia.
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,088

    Re: VBA code needed: Posting three most appearing text string in a culomn

    ehmail84 welcome with us,
    It will really easier if you attached a XLS file with a sample of your data.
    Did you have look on Pivot Table
    PCI
    - Battle without fear gives no glory - Just try

  3. #3
    Registered User
    Join Date
    08-17-2014
    Location
    israel
    MS-Off Ver
    2010
    Posts
    5

    Re: VBA code needed: Posting three most appearing text string in a culomn

    Hello,

    Thanks for the quik replay.

    Adding a file as an example for what is needed.
    I'm not familiar with the pivot options regarding this issue.

    I'll be glad to know if you have any sulotion possible using VBA.

    Greetings.

    Elia.Analysis tool - VBA needed.xlsx

  4. #4
    Valued Forum Contributor
    Join Date
    03-22-2013
    Location
    Australia,NSW, Wirrimbi
    MS-Off Ver
    Excel 2013
    Posts
    1,057

    Re: VBA code needed: Posting three most appearing text string in a culomn

    Hi..

    Try this..

    It uses a combination of .ArrayList to get Unique values and then sort them .. and then some funky formulas to do the rest..

    Formulas were found here:
    http://www.mrexcel.com/forum/excel-q...ml#post3307823

    It has helper columns on your Summary Sheet.. you can hide them if you like..

    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: VBA code needed: Posting three most appearing text string in a culomn

    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    08-17-2014
    Location
    israel
    MS-Off Ver
    2010
    Posts
    5

    Re: VBA code needed: Posting three most appearing text string in a culomn

    it works, thanks !!

    2 small issues left:

    1. I need to have both of the bottons ("Go" and "Clear") on another sheet ("Main sheet"), i've tried to copy/past and even cut\past - unsuccessfully.
    2. when activating the buttons, it automatically open the sheet named "summary sheet", when basically i need it to remain on the same sheet where the buttons
    will be located ("Main sheet").

    Adding the full file for review.

    Thanks again !

    Elia.

  7. #7
    Registered User
    Join Date
    08-17-2014
    Location
    israel
    MS-Off Ver
    2010
    Posts
    5

    Re: VBA code needed: Posting three most appearing text string in a culomn

    Thanks !

  8. #8
    Valued Forum Contributor
    Join Date
    03-22-2013
    Location
    Australia,NSW, Wirrimbi
    MS-Off Ver
    Excel 2013
    Posts
    1,057

    Re: VBA code needed: Posting three most appearing text string in a culomn

    Hi..

    Here is your file back with those changes..

    Having said that.. you should use Jindons code.. it is much faster.

  9. #9
    Registered User
    Join Date
    08-17-2014
    Location
    israel
    MS-Off Ver
    2010
    Posts
    5

    Thumbs up Re: VBA code needed: Posting three most appearing text string in a culomn

    Excelent,

    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)

Similar Threads

  1. VBA help needed to search a text string then select range.
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-03-2014, 07:53 PM
  2. Help Needed: Extract text string using very specific criteria
    By Sajo90 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-18-2014, 09:19 PM
  3. Replies: 2
    Last Post: 08-17-2012, 04:56 PM
  4. Text string clean up formula needed
    By ZimmJJ in forum Excel General
    Replies: 5
    Last Post: 07-01-2012, 09:16 PM
  5. [SOLVED] Help - Separating numbers appearing on the right of a text string
    By Faz1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-14-2005, 10:45 AM

Tags for this Thread

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