+ Reply to Thread
Results 1 to 5 of 5

Conditional averaging

  1. #1
    Registered User
    Join Date
    05-26-2010
    Location
    Tennessee, United States
    MS-Off Ver
    Office: Microsoft Office 2007. Home: Microsoft Office 2010
    Posts
    45

    Conditional averaging

    Hello again, everyone,

    As I delve deeper into this project, I keep noticing things that could be improved.

    Attatched is an example of the worksheet that I am working with. On the first sheet, Row 34 gives the option of "OK", "OS", or "HOLD". These options correspond to if the run in question met the criteria. At the end of each row that contains actual data, it takes the average of all of the data. What I would like to do is have only runs that are deemed OK to be included in the average. How would I need to go about doing this?
    Last edited by EGR2317; 06-02-2010 at 11:29 AM.

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

    Re: Conditional averaging

    There's no data to review but in general given use of XL2007 onwards see the AVERAGEIF function

  3. #3
    Registered User
    Join Date
    05-26-2010
    Location
    Tennessee, United States
    MS-Off Ver
    Office: Microsoft Office 2007. Home: Microsoft Office 2010
    Posts
    45

    Re: Conditional averaging

    My mistake. Here is a version with data in row 20 that is averaged. I have given the Row 34 classifications based on the sample data.
    Last edited by EGR2317; 06-02-2010 at 11:31 AM.

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

    Re: Conditional averaging

    as mentioned:

    =AVERAGEIF($G$34:$AH$34,"OK",$G20:$AH20)

  5. #5
    Registered User
    Join Date
    05-26-2010
    Location
    Tennessee, United States
    MS-Off Ver
    Office: Microsoft Office 2007. Home: Microsoft Office 2010
    Posts
    45

    Re: Conditional averaging

    Thank you very much

+ 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