Average - Exceptions

%3CLINGO-SUB%20id%3D%22lingo-sub-1430866%22%20slang%3D%22en-US%22%3EAverage%20-%20Exceptions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1430866%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20I%20have%20this%20issue%20where%20i%20have%20a%20list%20of%20numbers%20example%3C%2FP%3E%3CP%3E429%2C528%2C598%2C643%2C719%2C802%2C864%2C31743%20and%20I%20only%20need%20to%20remove%20the%2031743%20which%20is%20a%20odd%20number%2C%20and%20all%20other%20numbers%20are%20in%20the%20required%20range.%26nbsp%3B%20I%20tried%20TRIMMEAN%2C%20but%20that%20removes%20the%20high%20and%20low.%26nbsp%3B%20which%20is%20not%20right.%26nbsp%3B%20The%20right%20average%20should%20be%20655%20but%20when%20you%20use%20the%20TRIMMEAN%20i%20get%20692.%3C%2FP%3E%3CTABLE%20width%3D%22327%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2264%22%3E429%3C%2FTD%3E%3CTD%20width%3D%2264%22%3E428.8865%3C%2FTD%3E%3CTD%20width%3D%2264%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22135%22%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E528%3C%2FTD%3E%3CTD%3E31743%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E598%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E643%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E719%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E802%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E864%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E31743%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E692.3978%3C%2FTD%3E%3CTD%3Eusing%20TRIMMEAN%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E655%3C%2FTD%3E%3CTD%3EActual%20average%20429%20to%20864%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3BHow%20can%20i%20just%20exclude%20the%20high%20value%20and%20not%20the%20value%20on%20the%20lower%20side.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1430866%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1431540%22%20slang%3D%22en-US%22%3ERe%3A%20Average%20-%20Exceptions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1431540%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F598822%22%20target%3D%22_blank%22%3E%40sure19%3C%2FA%3E%26nbsp%3B%20you%20can%20use%20AVERAGEIF%20or%20AVERAGEIFS%20to%20add%20criteria%20to%20what%20you%20are%20averaging.%3C%2FP%3E%3CP%3EFor%20example%20in%20your%20case%20you%20could%20use%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DAVERAGEIF(A1%3AA10%2C%22%26lt%3B1000%22)%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi, I have this issue where i have a list of numbers example

429,528,598,643,719,802,864,31743 and I only need to remove the 31743 which is a odd number, and all other numbers are in the required range.  I tried TRIMMEAN, but that removes the high and low.  which is not right.  The right average should be 655 but when you use the TRIMMEAN i get 692.

429428.8865  
52831743  
598   
643   
719   
802   
864   
31743   
692.3978using TRIMMEAN 
655Actual average 429 to 864

 How can i just exclude the high value and not the value on the lower side.

1 Reply

@sure19  you can use AVERAGEIF or AVERAGEIFS to add criteria to what you are averaging.

For example in your case you could use:

=AVERAGEIF(A1:A10,"<1000")