+ Reply to Thread
Results 1 to 3 of 3

How to get the average of the first 3 right non blank cells

  1. #1
    Registered User
    Join Date
    04-25-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    2

    Unhappy How to get the average of the first 3 right non blank cells

    Hi, I am having a dilemma on getting the average for the first 3 non blank cells.
    This is how my data looks like :


    excel average.jpg

    I don't know any formula that will disregard the non blank cell and will get the average of the firs 3 non blank cells from the right.

    Can anyone help me with this...
    Last edited by Yunamiwaka; 04-25-2014 at 07:23 PM.

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: How to get the average of the first 3 right non blank cells

    like this..

    or you could also try in I2
    copy paste below hold control and shift together and then hit enter to make it array formula
    =SUM(MMULT(--(COLUMN(A2:G2)=TRANSPOSE(LARGE(IF(A2:G2<>"",COLUMN(A2:G2),0),{1,2,3}))),TRANSPOSE(IF(A2:G2="",0,A2:G2))))/3

    then drag down
    Attached Files Attached Files
    Last edited by hemesh; 04-26-2014 at 02:45 AM.
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Registered User
    Join Date
    04-25-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: How to get the average of the first 3 right non blank cells

    Thank you so much!!! This really worked!!

+ 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. Average non-contiguous cells, ignore blank cells and avoid #DIV/0!
    By Davdef in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 10-06-2018, 10:03 AM
  2. Replies: 10
    Last Post: 04-25-2013, 06:12 PM
  3. Average the last 10 cells of a dynamic column but ignore blank cells & 0
    By mattadler22 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-13-2013, 11:37 PM
  4. [SOLVED] Get rid of blank cells with Average
    By sarinky in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-27-2013, 11:41 PM
  5. Find a blank cell and calculate the average of all cells above till the next blank
    By joshnathan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-27-2012, 11:51 AM

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