+ Reply to Thread
Results 1 to 3 of 3

4 criteria average returning error

  1. #1
    Forum Contributor
    Join Date
    04-04-2016
    Location
    dallas tx
    MS-Off Ver
    365 (15.0.5501.1000)
    Posts
    534

    4 criteria average returning error

    I am trying to average a range of figures with 4 criteria. I have tried two formulas and both are returning errors.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: 4 criteria average returning error

    Hi,

    In Q4 try this:
    =AVERAGE(IF((D1:D300=$O$2)*(L1:L300=$P$2)*(A1:A300>=$Q$2)*(A1:A300<=$R$2),I1:I300))

    In Q5:
    =AVERAGEIFS($I$1:$I$300,$D$1:$D$300,O2,$L$1:$L$300,P2,$A$1:$A$300,">="&Q2,$A$1:$A$300,"<="&R2)
    Attached Files Attached Files

  3. #3
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,417

    Re: 4 criteria average returning error

    Array formula

    {=AVERAGE(IF(($D$6:$D$232=O2)*ISTEXT(IF($L$6:$L$232=P2,$L$6:$L$232))*($A$6:$A$232>=Q2)*($A$6:$A$232<=R2),$I$6:$I$232))}

+ 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. Simple AVERAGE function for numerical values returning #DIV/0 error.
    By jcoffman214 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-06-2019, 12:55 PM
  2. Average of Smallest 6 values returning error
    By uhlabomber in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-21-2016, 11:41 AM
  3. [SOLVED] Average returning #div/0 and sum/count returning 0
    By Sinnie in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-12-2016, 12:01 PM
  4. [SOLVED] Advanced filter returning all dates instead of those in criteria range, or error
    By nemmy in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-03-2016, 02:45 PM
  5. SumProduct N/A Error, Quarterly Average, Running Average, From and to Userform
    By Sorjas in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-18-2015, 07:40 PM
  6. Returning Average value while excluding error values
    By Stromming in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-02-2014, 04:13 PM
  7. Error Handling #N/A with AVERAGE Function - Average of values in Row
    By Sam via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 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