+ Reply to Thread
Results 1 to 6 of 6

Averageif not working with descending data

  1. #1
    Registered User
    Join Date
    05-10-2013
    Location
    UK
    MS-Off Ver
    Excel 365
    Posts
    2

    Averageif not working with descending data

    Strange problem here that I cannot find an answer for. Averageif is not working for me if my data is sorted descending, works fine ascending?

    Any ideas?

    Thanks
    Attached Files Attached Files
    Last edited by antknight; 01-31-2023 at 04:33 AM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Averageif not working with descending data

    Make both ranges teh same - they currently are not...
    =AVERAGEIF(C$2:C$282,D2,B$2:B$4536)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Valued Forum Contributor
    Join Date
    07-13-2021
    Location
    California, USA
    MS-Off Ver
    2010
    Posts
    513

    Re: Averageif not working with descending data

    The value in D20 is in C294, which is not within C2:C282, the range that you use for AVERAGEIF.

  4. #4
    Registered User
    Join Date
    05-10-2013
    Location
    UK
    MS-Off Ver
    Excel 365
    Posts
    2

    Re: Averageif not working with descending data

    I cannot believe I missed that, must have been tired! Thanks

  5. #5
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,291

    Re: Averageif not working with descending data

    Formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Averageif not working with descending data

    Happy to help

+ 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] SUMIF and AVERAGEIF formulae not working
    By Ochimus in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-23-2021, 01:53 PM
  2. [SOLVED] AVERAGEIF is not working
    By Rachel8226 in forum Excel General
    Replies: 8
    Last Post: 01-20-2019, 01:18 PM
  3. AVERAGEIF whit time not working
    By Thomas62 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-12-2018, 10:21 PM
  4. averageIF function not working, please help
    By mpfiorv in forum Excel General
    Replies: 19
    Last Post: 11-30-2014, 06:47 PM
  5. [SOLVED] AverageIf function not working correctly
    By Spicey_888 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-12-2014, 02:08 AM
  6. AverageIF across sheet range not working
    By cmac7872 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-09-2012, 12:42 PM
  7. [SOLVED] Mock AVERAGEIF statement not working
    By SMac in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-02-2005, 08:06 PM

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