+ Reply to Thread
Results 1 to 4 of 4

Making Average() formula ignore months with too much blanks

  1. #1
    Registered User
    Join Date
    11-05-2013
    Location
    Vilnius, Lithuania
    MS-Off Ver
    Excel 2013
    Posts
    63

    Question Making Average() formula ignore months with too much blanks

    Hello everyone, I trying to make my Average() array formula ignore months, which have more than 5 blanks to simply ignore it, does anyone have a clue how to do this?
    In the example that I show you, the second month should be excluded, because the values in column R have too much blank cells in that month.

    P.S.
    If using the blanks is too difficult, values in column N below 5 would respond in the same way (if there more than 5 cells with values less than "5").
    Attached Files Attached Files

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Making Average() formula ignore months with too much blanks

    Try this...

    Entered in S2 and copied down:

    =IF(COUNTIFS(A$2:A$42,">="&T2,A$2:A$42,"<="&EOMONTH(T2,0),R$2:R$42,"")>5,"",AVERAGEIFS(R$2:R$42,A$2:A$42,">="&T2,A$2:A$42,"<="&EOMONTH(T2,0))*10^4)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    11-05-2013
    Location
    Vilnius, Lithuania
    MS-Off Ver
    Excel 2013
    Posts
    63

    Re: Making Average() formula ignore months with too much blanks

    Thank you.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Making Average() formula ignore months with too much blanks

    You're welcome!

+ 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] Formula to Compute Averages - Ignore Zero (Blanks)
    By Neane in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-13-2012, 07:08 PM
  2. [SOLVED] Average - 3 months / 6 months trend line ( array formula? )
    By ccernat in forum Excel General
    Replies: 3
    Last Post: 04-04-2012, 06:24 AM
  3. Ignore blanks in sumproduct formula
    By Rhyl in forum Excel General
    Replies: 4
    Last Post: 02-02-2012, 11:42 AM
  4. Validation List ignore blanks (formula)
    By portmontreal in forum Excel General
    Replies: 2
    Last Post: 07-16-2009, 02:52 PM
  5. [SOLVED] USING IGNORE BLANKS IN FORMULA
    By Roger H. in forum Excel General
    Replies: 5
    Last Post: 04-06-2005, 12:06 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