+ Reply to Thread
Results 1 to 6 of 6

Condensing data automatically

  1. #1
    Forum Contributor
    Join Date
    10-11-2008
    Location
    Portugal
    MS-Off Ver
    Excel 2010
    Posts
    111

    Condensing data automatically

    Hi,

    I have a lot of data I have to process and would like to know a way to condense it automatically. The deal is that I want to calculate the average of certain numbers that have the same label. I guess if you take a look at the xls attached you will understand better, I can't explain better than this.

    If someone knows a way to do this automatically, please reply!

    Thanks
    Attached Files Attached Files
    Last edited by Coaster; 03-12-2010 at 02:24 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Condensing data automatically

    IN Excel 2007, I believe the formula you want is AVERAGEIF(). Press F1 and read up on that function.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    10-11-2008
    Location
    Portugal
    MS-Off Ver
    Excel 2010
    Posts
    111

    Re: Condensing data automatically

    thanks for your reply...

    in fact, averageif is exactly the tool I need, there's just one problem though: I need to get the criteria field to work with cells, that is, I want the criteria to make reference to a cell. Eg. "=H5" - not the string H5, but the cell H5

    any way to do this?

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Condensing data automatically

    That's how all the IF() formulas work, they compare a range of cells to a single cell. You can use a "string" in place of the single cell, or you can use a cell reference.

    I'm sure the help file cover all the variations.

  5. #5
    Forum Contributor
    Join Date
    10-11-2008
    Location
    Portugal
    MS-Off Ver
    Excel 2010
    Posts
    111

    Re: Condensing data automatically

    oh i'm sorry....i had some extra "" that shouldn't have been there...it's now working fine, thanks a lot

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Condensing data automatically

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ 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