+ Reply to Thread
Results 1 to 7 of 7

Tag cloud with exceptions and progress indicator

  1. #1
    Registered User
    Join Date
    01-04-2010
    Location
    Canberra, Australia
    MS-Off Ver
    Excel 2007
    Posts
    11

    Arrow Tag cloud with exceptions and progress indicator

    I have changed how I want to go about doing this. Progress indicator is no longer required. See this post.

    Hi there,

    I am wanting to count and create a tag cloud for unique keywords on a data set that has 20,000 complaints on seperate rows by using something like a word frequency count macro (pivot table is not necessary) and chandoos tag cloud script with the following modifcations:

    1. If a word appears multiple times in one row it should only be counted once.

    2. Because the data set is so large (at least 200,000 words) I would like keywords only to be displayed if they match certain user defined criteria:
    a) They aren't an 'excluded keyword' such as 'and, this, that, they etc'
    b) The keyword appears at least x or more times.

    3. As theses script/s take a long time to run on such a large dataset I would like to include a progress indicator.

    What would be the best way to do this?

    Thanks so much for your help. I'm new here and if you want me to clarify anything please ask.
    Last edited by eq2; 01-16-2010 at 10:26 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Tag cloud with exceptions and progress indicator

    How about posting an example of how the data is laid out and expected results?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    01-04-2010
    Location
    Canberra, Australia
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Tag cloud with exceptions and progress indicator

    Please see attatched example. The macros are included but I have been unable to modify them to do what I want.

    I have added comments to the spreadsheet but to be clear I want to modify the MakeWordList to:
    -list a count of words in a defined area on the 'data worksheet',
    -above a defined minimum word count,
    -only count a word once per row and
    -not count definted exceptions with
    -a progress indicator.

    For the createCloud macro I want to modify it to:
    -Grab the data from the MakeWordList output and display it as a visually friendly tag cloud on the same spreadsheet with
    -a progress indicator

    I'm thinking of using a plain bar progress meter.
    Attached Files Attached Files
    Last edited by eq2; 01-05-2010 at 10:59 PM. Reason: Attatched file

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: Tag cloud with exceptions and progress indicator

    Read the forum rules on uploading a workbook

  5. #5
    Registered User
    Join Date
    01-04-2010
    Location
    Canberra, Australia
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Tag cloud with exceptions and progress indicator

    I have now attatched the worksheet as per forum rules.

    I have been trying to modify the code myself but I can't even get past getting the first macro to grab data from the worksheet.

    When I set A1 in the below code to anything other than A1 (such as B1) I get a 1004 runtime error that states the pivot table name is not valid.

    Please Login or Register  to view this content.
    On Debug the highlighted text is
    Please Login or Register  to view this content.
    Note I don't even require a pivot table to make the cloud.
    Last edited by eq2; 01-05-2010 at 11:06 PM.

  6. #6
    Registered User
    Join Date
    01-04-2010
    Location
    Canberra, Australia
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Tag cloud with exceptions and progress indicator

    After much mucking around I am now using the code that Andy Pope posted elsewhere on this forum to count the words. I found that this script runs very quickly if the data does not have filters etc on it. (if there are filters it seems to go from 3mins to 2hrs). Consequently it is fine without progress indicators.



    Please Login or Register  to view this content.
    The main modification I would like made to this macro is to make it only count a unique word once per row. How would this be done?

    To deal with exceptions I now think the best way to deal with it would be to write a macro that looks through the output word list and cuts a row that begins with a listed exception word to a different worksheet. This should not be too hard.
    Last edited by eq2; 01-16-2010 at 10:45 AM.

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Tag cloud with exceptions and progress indicator

    If you're disappointed that no one has interrupted your monologue to assist, please consider that you have never lucidly explained what you're trying to do.

    Sheet Data has columns A-F with sentences in columns A, columns B:E blank, random words in column F, and an AutoFilter applied for some reason to the whole thing. What are the columns for?

    Where is the list of words to extract?

    Do only the extracted words appear in the output? If that's true, then a list of words to exclude is unnecessary, true?

    ... and many more questions like that.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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