+ Reply to Thread
Results 1 to 4 of 4

Help with creating a text analyser spreadsheet

  1. #1
    Registered User
    Join Date
    10-11-2013
    Location
    Shanklin, England
    MS-Off Ver
    Excel 2010
    Posts
    16

    Help with creating a text analyser spreadsheet

    Hello all!

    Is there a way to make a simple text analyser that will return the number of times each word is used in a sentence or paragraph within a cell?

    I use excel to write short paragraphs to upload onto social network sites and I would like a formula or program that tells me how many times each word has been used over a number of cells, to avoid repetition. Is there a way to do this?

    Thank you

    Dave

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,816

    Re: Help with creating a text analyser spreadsheet

    Suppose you have your responses in column A starting in A1, and you want to check for the word "the" - you can use this formula:

    =(LEN(A1)-LEN(SUBSTITUTE(A1,"the","")))/LEN("the")

    which will give you the number of times the word occurs in A1. You can replace "the" with a cell reference that contains that word. The formula will count the word "theatre" as containing that word, so to avoid this happening you can use " the " with spaces around.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    10-11-2013
    Location
    Shanklin, England
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Help with creating a text analyser spreadsheet

    Thanks Pete, it does help to a certain extent, but is there a way to find the number a times each word occurs in the paragraphs, without having to input the words required into the formula? (Very time consuming!)

    Dave

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,816

    Re: Help with creating a text analyser spreadsheet

    Okay, I had assumed that your first response was in A1, but if you insert two new rows at the top of the sheet you can use B2, C2, D2 etc. for the words you want to count, and row 1 for the total count (or average if you want). So, with your first response in A3, put this formula in B3:

    =(LEN($A3)-LEN(SUBSTITUTE($A3,B$2,"")))/LEN(B$2)

    This can be copied across and down to give you an individual count of the words in row 2 for each response. You can put this formula in B1:

    =SUM(B$3:B$1000)

    and copy across the row to give the total for each word (or change SUM to AVERAGE if that is a better measure for you).

    Hope this helps.

    Pete

+ 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. Creating a master spreadsheet based on various spreadsheet in Sharepoint
    By lmoura in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-06-2013, 05:09 PM
  2. [SOLVED] How to plot data with repeating value? Laser Spectrum Analyser Data
    By simplytuff in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 04-13-2012, 02:12 AM
  3. Copying Rows from a spreadsheet to a new spreadsheet if text appears
    By Fferjay in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-01-2011, 05:18 PM
  4. Replies: 3
    Last Post: 09-29-2009, 11:52 AM
  5. Creating a text file and printing excel spreadsheet data onto it
    By Brett Smith in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-22-2005, 12:25 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