+ Reply to Thread
Results 1 to 3 of 3

Calculate modified average based on criteria from other column

  1. #1
    Forum Contributor
    Join Date
    06-28-2010
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    101

    Calculate modified average based on criteria from other column

    I would like to do the following:

    For the value in D1, check C1. In this case, C1 = 2. Then, take the average of all values in column B that have the same value in column C, but excluding the value in row 1. So, for D1 this would be the average of B2, B4, B5, etc., but excluding B1. I have attached a sample workbook. How should I go about this?
    Attached Files Attached Files
    Last edited by excelforum123; 01-18-2011 at 12:06 PM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Calculate modified average based on criteria from other column

    Wouldn't a basic SUMIF/COUNTIF suffice (with adjustment to exclude current record)

    Please Login or Register  to view this content.
    edit: I have added a MAX to ensure 0 rather than #DIV/0! where only one record exists.

  3. #3
    Forum Contributor
    Join Date
    06-28-2010
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    101

    Re: Calculate modified average based on criteria from other column

    Thank you!

+ 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