+ Reply to Thread
Results 1 to 6 of 6

conditional average confusion

  1. #1
    Registered User
    Join Date
    02-06-2014
    Location
    Scotland
    MS-Off Ver
    Excel 2010
    Posts
    11

    conditional average confusion

    Hi there,

    I am looking for some advice on how to find each runner's average lap time for some data I have on excel. I have two columns of data, one containing peoples names and the other column with their lap times. Each person did several laps and I am not sure of the fastest way to find out their overall average, I have been trying with the averageif function but not really getting anywhere, am I right to keep persisting with this function or is there a better way to do this? Any advice would be greatly appreciated.

    Thank you!
    G

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,737

    Re: conditional average confusion

    averageif() should work for you

    perhaps you could attach an example spreadsheet with some example - expected results
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Contributor
    Join Date
    01-22-2014
    Location
    genoa, italy
    MS-Off Ver
    Excel 2007
    Posts
    134

    Re: conditional average confusion

    hi,
    I think you should send a file in order to get better help.
    AL

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

    Re: conditional average confusion

    AVERAGEIF sounds like the right function to use.

    What problem are you having with it?

    Maybe attach a SMALL sample file that shows us what result(s) you expect.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Registered User
    Join Date
    02-06-2014
    Location
    Scotland
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: conditional average confusion

    Hi Everyone,

    Thank you for your quick responses, I have attached an example of my data. I think I want to tell the formula to average the values in column B if the corresponding values in column A are the same. I'm not sure how to input this properly though so any advice would be greatly appreciated!

    Many thanks,
    G
    Attached Files Attached Files

  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: conditional average confusion

    Create a list of the distinct P Numbers. You can do this easily using advanced filter:

    http://contextures.com/xladvfilter01.html#FilterUR

    Assume that list starts in D2 downwards.

    Enter this formula in E2 and copy down as needed:

    =AVERAGEIF(A:A,D2,B:B)

+ 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. Replies: 4
    Last Post: 09-24-2012, 05:33 PM
  2. Conditional Confusion w/date functions
    By maloneyman in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-08-2011, 02:57 AM
  3. Changing conditional average formula to conditional sumproduct
    By chlor in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-29-2007, 11:39 AM
  4. Confusion...(conditional formatting)
    By nishapurohit in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 01-31-2006, 05:40 PM
  5. Conditional Average
    By MEK911 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-09-2005, 01:05 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