+ Reply to Thread
Results 1 to 4 of 4

Averaging a bin

  1. #1
    Registered User
    Join Date
    02-28-2019
    Location
    Australia
    MS-Off Ver
    10
    Posts
    2

    Averaging a bin

    Hi,
    I have a spreadsheet with data points at different depths. I want to create depth bins and average the data in these bins. Does anyone have a formula that will do this?
    Thank you,
    Lucy
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    12,488

    Re: Averaging a bin

    The AVERAGEIFS() function should readily do this task: https://support.office.com/en-us/art...8-f7c5c3001690 It's not clear to me exactly what you are trying to average, but read through the help file and the example, then adapt to your spreadsheet. I would expect something like =AVERAGEIFS(average range, depth range, ">="&E2,depth range, "<"&E3). Pay careful attention to relative and absolute references, and you should be able to enter once then copy/fill down.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    15,249

    Re: Averaging a bin

    Hi LucyZ and welcome to the forum,

    I think a Pivot Table is what you want. You use the second column as your rows but GROUP them by .5. Then use the Average of the first column in that group. See the attached for a check. No formulas needed if you use Pivot Tables.

    bin_test Group PT Average.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    02-28-2019
    Location
    Australia
    MS-Off Ver
    10
    Posts
    2

    Re: Averaging a bin

    Thank you both, yes this pivot table is an excellent solution =)

+ 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. Averaging
    By michellehmcclur in forum Excel General
    Replies: 8
    Last Post: 07-24-2016, 09:05 PM
  2. Complicated averaging-- averaging data that matches certain intervals
    By atung in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 10-22-2014, 04:19 PM
  3. Averaging help
    By cmorrison in forum Excel General
    Replies: 1
    Last Post: 08-17-2011, 03:23 PM
  4. Excel 2007 : Averaging IF
    By SEXYJANNY in forum Excel General
    Replies: 7
    Last Post: 08-01-2010, 12:56 PM
  5. Help with Averaging
    By cfeedback in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-11-2008, 04:39 PM
  6. Averaging
    By SMABonni in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-04-2007, 07:02 PM
  7. [SOLVED] Averaging best 15 out of 20?
    By Rando in forum Excel General
    Replies: 2
    Last Post: 12-13-2005, 06:10 PM

Tags for this Thread

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