+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    07-23-2008
    Location
    SCOTLAND
    Posts
    4

    Need to lookup 2 cell values and get average from 1

    afternoon all, looking for some help with excel which i'm sure is relatively easy.....if you know how . i've just started to use excel and i'm struggling to work out something.

    setup i have is 2 sheets and in sheet 1 i have a range called "names" (collum A) and another called "severity" (Collum B). the "names" range contains the names of people and the severity contains numbers between 1-10.

    for example

    Name - Severity

    Stephen - 1
    John - 8
    Stephen - 2
    Stephen - 3
    John - 7
    Mike - 5

    from the above i need to know the average severity figure everyone has and output it somewhere.

    open to suggestions the best way to go about this as newbie

    p.s great site and thanks for help.

    cheers
    Last edited by dubsrus; 07-23-2008 at 11:30 AM.

  2. #2
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,163
    Please read our forum rules first. Then amend your title according to Rule # 1
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Registered User
    Join Date
    07-23-2008
    Location
    SCOTLAND
    Posts
    4
    sorry, ammended. wasn't sure what to put as not sure best way round this.

    cheers

  4. #4
    Registered User
    Join Date
    07-03-2008
    Location
    Scotland
    Posts
    58
    =Average(B:B) gives you the overall average. Just don't put it in column B.

    I presume you want individual averages though...

  5. #5
    Registered User
    Join Date
    07-23-2008
    Location
    SCOTLAND
    Posts
    4
    damien, thanks for reply.

    yes i need to work out the average based on if the name is "stephen" for example.

    the little example above would output stephen has average of 2 and so on for each person.

    cheers

  6. #6
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,163
    Quote Originally Posted by dubsrus
    sorry, ammended. wasn't sure what to put as not sure best way round this.

    cheers
    Thank you.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  7. #7
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,163
    You can use a pivot table...

    or

    if you list the unique names somewhere on the sheet... you can use formula:

    =Sumif($A$1:$A$100,X1,$B$1:$B$100)/Countif($A$1:$A$100,X1)

    where A1:B100 contains your original data and X1 contains one of the unique names... then you would copy down the formula.

    Note: adjust ranges and references to suit.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  8. #8
    Registered User
    Join Date
    07-23-2008
    Location
    SCOTLAND
    Posts
    4
    thanks for the reply. i will try that.

    cheers

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.2.0