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
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
Last edited by antknight; 01-31-2023 at 04:33 AM.
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
The value in D20 is in C294, which is not within C2:C282, the range that you use for AVERAGEIF.
I cannot believe I missed that, must have been tired! Thanks
FormulaFormula:
Please Login or Register to view this content.
Happy to help
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks