+ Reply to Thread
Results 1 to 4 of 4

Sum Without MIN or MAX values

  1. #1
    Registered User
    Join Date
    10-26-2016
    Location
    Australia
    MS-Off Ver
    excel 2016
    Posts
    46

    Sum Without MIN or MAX values

    Hi,

    Trying to work out the formula so a Sum of a column is calculated without the highest or lowest number in that column included.

    Any help would be much apricated. Attached is what I've got to so far. After H31:K31 Results

    Cheers
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: Sum Without MIN or MAX values

    Maybe:
    Please Login or Register  to view this content.
    ???
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    10-26-2016
    Location
    Australia
    MS-Off Ver
    excel 2016
    Posts
    46

    Re: Sum Without MIN or MAX values

    Thanks Ben that works to my expected totals.

    Cheers

  4. #4
    Registered User
    Join Date
    05-27-2021
    Location
    USA
    MS-Off Ver
    2013
    Posts
    18

    Re: Sum Without MIN or MAX values

    =SUMIFS(H13:H17,H13:H17,"<"&MAX(H13:H17),H13:H17,">"&MIN(H13:H17))
    =AVERAGEIFS(H13:H17,H13:H17,"<"&MAX(H13:H17),H13:H17,">"&MIN(H13:H17))

    This helped me as well, I was trying to apply all the logic, Thank you for this, also I learnt while trying to solve this that in order to get average excluding the MIN and the MAX values, here is what we can use:

    (SUM(A2:A12)-MIN(A2:A12)-MAX(A2:A12))/(COUNT(A2:A12)-2)

    Cheers!

+ 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] VBA Code replace old values to new values depends upon column values
    By johnlara in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-09-2015, 08:19 AM
  2. [SOLVED] VBA code to look up a list of values based on entered values and return all values.
    By dnwadams in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-30-2015, 10:14 PM
  3. [SOLVED] Extract values (row values and column values) with formula
    By bjnockle in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 08-17-2014, 10:13 AM
  4. [SOLVED] vba to Replace Old values by new values depends upon cell values in AC:AC col
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-25-2014, 08:15 AM
  5. Replies: 0
    Last Post: 10-12-2012, 01:08 PM
  6. [SOLVED] How to lookup values same row values different column values
    By kgonzalbo in forum Excel General
    Replies: 5
    Last Post: 05-22-2011, 01:49 AM
  7. assigning date entries to week values and month values to sum column C-N values C-
    By the accountant in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-20-2010, 09:52 AM

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