+ Reply to Thread
Results 1 to 4 of 4

Get averages by category

  1. #1
    Registered User
    Join Date
    10-22-2012
    Location
    Montreal, Canada
    MS-Off Ver
    Professional Plus 2010
    Posts
    2

    Get averages by category

    I'm trying to find the average velocity of particles. The program gives instantaneous velocities for the particles but not the average. I'm left with an excel file with thousands of instant velocities for dozens of particles. There are varying amounts of values per particle, some have maybe 7 values, others might have 30.

    I can manually select which values to average, but I'd like to know if I could have excel do that automatically.

    For instance, in collum B I'd have the values I want to get averages from, in A I have which category they belong to. Rows 1-7 might be particle A, rows 8-20 might be particle B.

    Is there a way for excel to get the averages in B (velocity) for each category (particle) in A?

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Get averages by category

    Take a look on AVERAGEIF function.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Registered User
    Join Date
    10-22-2012
    Location
    Montreal, Canada
    MS-Off Ver
    Professional Plus 2010
    Posts
    2

    Re: Get averages by category

    I did consider that, but I would need to setup one for each category since I want the averages of all particles. The data is sorted by particle number, so that wouldn't save me any effort: selecting the data for each particle and averaging that is the same amount of work as saying "average if particle one, average if particle two..."

  4. #4
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Get averages by category

    How about using Pivot Table without any formula?

    How to create Pivot Table
    Summarize Pivot Table

+ 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