+ Reply to Thread
Results 1 to 5 of 5

Averaging across several rows

  1. #1
    Registered User
    Join Date
    05-20-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Averaging across several rows

    I'm trying to find the average numbers of letters per word across a series of texts. The data I have looks like this, with row 5 being the number of letters per word and rows 6-12 being the number of words with those letters in the different texts:

    \1

    Is there a formula I can use to do this? Any help would be very much appreciated
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Averaging across several rows

    how about using sumproduct to multiply the number of words of each length by the length, then dividing by the number of words

  3. #3
    Registered User
    Join Date
    05-20-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Averaging across several rows

    I'm a bit of an Excel illiterate, I'm afraid, I know the most basic of basic formulas, and that's about it Would that be something like =sumproduct(a5:05, c6:o6) and then divided by the overall total number of words (4,892) or by the total number of words with one letter (and then two letters and three letters and so on individually)?

  4. #4
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Averaging across several rows

    to get the average letters per word, you need to know the total number of letters and divide it by the total number of words in each row
    to get the total number of letters, use sumproduct to multiply the number of 2 letter words by 2, the number of 3-letter words by 3 etc.
    then divide by the number of words in that row

    so, if your header row (row 1) includes the number of letters per word in e.g. cells c1:g1, and your row 6 includes the number of words with that many letters, and cell B6 contrains the number of words in that row type

    =SUMPRODUCT(C1:G1, C6:G6)/B6

    or

    =SUMPRODUCT(C1:G1, C6:G6)/SUM(C6:G6)

  5. #5
    Registered User
    Join Date
    05-20-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Averaging across several rows

    Oh, I see! Thank you, that's brilliant

+ 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