N nick Jan 29, 2009 #1 I have a list of numbers and I want to discard the first and last quartile, and then obtain an average of whats left. Thanks!!
I have a list of numbers and I want to discard the first and last quartile, and then obtain an average of whats left. Thanks!!
S Shane Devenshire Jan 29, 2009 #2 Hi, Try the following array formula: =AVERAGE(IF((A1:A8>QUARTILE(A1:A8,1))*(A1:A8<QUARTILE(A1:A8,3)),A1:A8,"")) Press Shift+Ctrl+Enter to enter it. You my change the > to >= but I leave that up to you.
Hi, Try the following array formula: =AVERAGE(IF((A1:A8>QUARTILE(A1:A8,1))*(A1:A8<QUARTILE(A1:A8,3)),A1:A8,"")) Press Shift+Ctrl+Enter to enter it. You my change the > to >= but I leave that up to you.
M Mike Middleton Jan 29, 2009 #4 nick - =TRIMMEAN(data_range,0.5) - Mike Middleton http://www.MikeMiddleton.com
N nick Jan 30, 2009 #5 Hey guys, Thanks for all your replies. Unfortunately none of them give me the correct answer. To be more precise, I need Excel to calculate the Interquartile Mean (http://en.wikipedia.org/wiki/Interquartile_mean) from an array which is randomly ordered. Any further help would really be appreciated! Thanks again, Nick
Hey guys, Thanks for all your replies. Unfortunately none of them give me the correct answer. To be more precise, I need Excel to calculate the Interquartile Mean (http://en.wikipedia.org/wiki/Interquartile_mean) from an array which is randomly ordered. Any further help would really be appreciated! Thanks again, Nick