+ Reply to Thread
Results 1 to 7 of 7

Calculate TRIMMEAN with multiple conditions

  1. #1
    Forum Contributor
    Join Date
    10-15-2012
    Location
    Dallas, TX
    MS-Off Ver
    2019
    Posts
    167

    Calculate TRIMMEAN with multiple conditions

    I want to expand on the below formula, located @ RESULTS 1 Q3 in the attached WB. I want to add a couple conditions...

    Please Login or Register  to view this content.
    Add the following conditions...

    IF Table1[EXIT REASON] = "5x20"
    IF Table1[MAX GAIN] ">=4" counts >= 5
    Attached Files Attached Files
    Last edited by cableghost; 10-19-2021 at 01:08 PM.

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,666

    Re: Calculate TRIMMEAN with multiple conditions

    Try the following array formula**:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Forum Contributor
    Join Date
    10-15-2012
    Location
    Dallas, TX
    MS-Off Ver
    2019
    Posts
    167

    Re: Calculate TRIMMEAN with multiple conditions

    Thank you. Looks like that works well.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,666

    Re: Calculate TRIMMEAN with multiple conditions

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

  5. #5
    Forum Contributor
    Join Date
    10-15-2012
    Location
    Dallas, TX
    MS-Off Ver
    2019
    Posts
    167

    Re: Calculate TRIMMEAN with multiple conditions

    I do have a question... In this part of the code

    Please Login or Register  to view this content.
    Why is Q$2 referenced?

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,666

    Re: Calculate TRIMMEAN with multiple conditions

    The >=4 in cell Q2 on the Results 1 sheet.
    Let us know if you have any questions.

  7. #7
    Forum Contributor
    Join Date
    10-15-2012
    Location
    Dallas, TX
    MS-Off Ver
    2019
    Posts
    167

    Re: Calculate TRIMMEAN with multiple conditions

    I was unaware that could be a literal condition... That part of the formula is literally conditioned on count only if >=5 of numbers that are >=4. Thanks for the explanation.

+ 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. [SOLVED] Calculate quantity based on multiple conditions
    By ThrillJunkie in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-06-2021, 06:56 PM
  2. Calculate total based on multiple conditions
    By antonywijesinghe in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-23-2018, 02:57 AM
  3. Calculate Median with multiple conditions
    By Masun in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 11-23-2017, 05:54 AM
  4. Calculate with multiple conditions
    By sasajo1 in forum Excel General
    Replies: 9
    Last Post: 01-29-2017, 01:49 PM
  5. [SOLVED] Trimmean function with multiple if criteria
    By qcjustin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-10-2016, 01:28 PM
  6. Replies: 5
    Last Post: 03-23-2012, 11:59 AM
  7. Calculate Values based on Multiple Conditions
    By creativefusion in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 05-24-2009, 09:27 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