+ Reply to Thread
Results 1 to 7 of 7

Average highest 10 values or less

  1. #1
    Registered User
    Join Date
    01-20-2019
    Location
    Thailand
    MS-Off Ver
    Excel
    Posts
    2

    Average highest 10 values or less

    Hello

    I am using average high row1:10 formula to get average of top 10 values in a row it works fine but some rows of values have less than 10 values and I'm getting errors

    Any suggestions for formula to average top 10 values and in case there's less then average those values

    Thankyou

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Average highest 10 values or less

    a
    b
    c
    1
    1
    2
    2
    3
    3
    4
    5
    5
    6
    6
    7
    7
    8
    8
    9
    9
    10
    10
    5.6667
    b10: {=average(iferror(large(a1:a10,{1,2,3,4,5,6,7,8,9,10}), false))}
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,720

    Re: Average highest 10 values or less

    Welcome to the forum!

    What formula are you currently using?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    01-20-2019
    Location
    Thailand
    MS-Off Ver
    Excel
    Posts
    2

    Re: Average highest 10 values or less

    Thankyou I'm using formula below

    {=average(large(b5:aq5,row(1:10)))}

  5. #5
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Average highest 10 values or less

    Try this:

    ={AVERAGE(LARGE(IF(ISNUMBER(A1:C10),A1:C10),ROW(1:10)))}
    put you range inside of course.

    I did not test it so intensively.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  6. #6
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: Average highest 10 values or less

    =IF(COUNT(B5:aq5)<11,AVERAGE(B5:aq5),AVERAGE(LARGE(IF(ISNUMBER(B5:aq5),B5:aq5),ROW(1:10))))

    Entered with shift control enter as it is an array

  7. #7
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Average highest 10 values or less

    Quote Originally Posted by Sonyak View Post
    {=average(large(b5:aq5,row(1:10)))}
    Try:

    {=AVERAGE(LARGE(B5:AQ5,ROW(INDIRECT("1:"&MIN(10,COUNT(B5:AQ5))))))}

+ 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] Average of three highest values within previous 21 days
    By Renegade115 in forum Excel General
    Replies: 7
    Last Post: 05-14-2018, 01:30 PM
  2. Average of 5 highest values in the last 6 non blank cells
    By Candle in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-21-2018, 01:14 PM
  3. [SOLVED] Average of 5 highest values on 5 different days
    By trizzo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-10-2014, 07:59 PM
  4. [SOLVED] Average Large IF for 10 highest different days values
    By trizzo in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 06-06-2013, 02:58 AM
  5. Average, except highest and lowest values
    By tiwas in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-06-2012, 12:27 PM
  6. [SOLVED] Average of the 10 highest values by month
    By trizzo in forum Excel General
    Replies: 8
    Last Post: 04-07-2012, 12:46 PM
  7. highest average of 6 continuous values from a row containing much more numbers
    By FATboven in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-23-2011, 08:21 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