+ Reply to Thread
Results 1 to 4 of 4

find the average of the first 3 non zero values of a row

  1. #1
    Registered User
    Join Date
    04-29-2014
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2013
    Posts
    47

    find the average of the first 3 non zero values of a row

    I have tried an array formula taking the largest average, but that is not always right.

    Any ideas how to achieve this?

    average.xlsx

    Attached is a sample data set and the desired results.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: find the average of the first 3 non zero values of a row

    See attached
    Attached Files Attached Files
    Last edited by Pepe Le Mokko; 08-11-2015 at 02:36 PM.

  3. #3
    Registered User
    Join Date
    04-29-2014
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2013
    Posts
    47

    Re: find the average of the first 3 non zero values of a row

    Thank you Pepe Le Mokko,

    That is an ingenious use if the index function, I will have to remember that.

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: find the average of the first 3 non zero values of a row

    You're welcome. The INDEX function has much more to it than meets the eye

+ 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] Use vlookup to find the dates and then average the values in corresponding column
    By ash369ster in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 07-03-2015, 12:09 AM
  2. Replies: 13
    Last Post: 10-08-2014, 08:35 AM
  3. [SOLVED] Find average of lowest 5 values in a column
    By Captnpiggy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-24-2014, 04:45 PM
  4. [SOLVED] Need to find average of an array if corresponding values are within a set range
    By Pallav001 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-21-2013, 03:06 AM
  5. [SOLVED] Find average values with conditions
    By bigband1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-14-2012, 05:28 PM
  6. Find average of values next to matching string
    By Twage in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-15-2012, 07:29 PM
  7. Find the average of the lowest four values of the last six
    By pjmcc64 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-03-2010, 06:26 PM

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