+ Reply to Thread
Results 1 to 6 of 6

Formula for Average rating based on Year

  1. #1
    Registered User
    Join Date
    09-16-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    2

    Formula for Average rating based on Year

    This may be complicated to explain so bear with me

    I have a spreadsheet full of movies, each with a rating out of 100 and the year they were released. What I want to do is create a chart which shows the average rating based on the year.
    I.E. It will take all the ratings from a particular year and give it an average.
    Does anyone have any ideas to how I could do this?

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Formula for Average rating based on Year

    AVERAGEIF is your friend here.
    Have a look at the yellow cells in the attached for an example.

    BSB
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    09-16-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    2

    Re: Formula for Average rating based on Year

    That worked exactly how I wanted it to, thanks very much!

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Formula for Average rating based on Year

    No problem. Happy to help.

    If you feel the urge to further refine, i.e. average rating of horror movies from 1976, you can add more criteria with AVERAGEIFS.

    Don't forget to mark the thread as SOLVED if you're happy you have your solution.

    BSB

  5. #5
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Formula for Average rating based on Year

    Oh and I'll say it before someone else pops up with it, you could also use Pivot Tables to do this.

    BSB

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula for Average rating based on Year

    Something like this...

    Data Range
    A
    B
    C
    D
    E
    1
    Date
    Rating
    ------
    Year
    Average
    2
    1/14/2008
    73
    2008
    81.5
    3
    4/14/2008
    90
    2009
    56
    4
    5/30/2009
    60
    2010
    44.5
    5
    12/7/2009
    52
    2011
    40.66667
    6
    1/25/2010
    76
    2012
    40.5
    7
    4/9/2010
    13
    2013
    39
    8
    4/11/2011
    54
    9
    6/19/2011
    58
    10
    10/2/2011
    10
    11
    3/9/2012
    42
    12
    7/20/2012
    75
    13
    11/19/2012
    12
    14
    12/7/2012
    33
    15
    3/8/2013
    39


    This array formula** entered in E2 and copied down:

    =AVERAGE(IF(YEAR(A$2:A$15)=D2,B$2:B$15))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    You may want to round the results. If so use this array formula**:

    =ROUND(AVERAGE(IF(YEAR(A$2:A$15)=D2,B$2:B$15)),0)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Formula for Monthly+year (mmm-yy) average values
    By Tona in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-17-2015, 02:55 AM
  2. how to divide the FINAL RATING with weighted average?
    By nathanjohnston in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-01-2013, 09:51 AM
  3. Replies: 0
    Last Post: 01-22-2013, 12:22 PM
  4. [SOLVED] Performance Rating based on Percentages
    By tomlancaster in forum Excel General
    Replies: 3
    Last Post: 09-27-2012, 01:44 AM
  5. Overall rating based on an alphabetical score
    By OlSchool in forum Excel General
    Replies: 5
    Last Post: 06-23-2011, 10:10 AM
  6. Replies: 6
    Last Post: 04-29-2010, 07:23 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