I have some values in a column which are not necesarily sorted. Then I want to find the average of the lowest n values from the column with the values.
So let's take the example above. Say I need to average n=3
lowest values from the column above with values ranging from A1
to A10
. The result will be the average of 1 (taken from A1), 2 (taken from A6) and 3 (taken from A2). I am thinking of something like AVERAGE(LOWEST_N(A1:A10, 3))
but I'm not sure it can be as simple as that.
Note: I can't sort the values on that specific column. I also do not wish to manually move the values to another column and sort them there, because I want to do this many multiple times and I need to automate the process.
您可以使用数组公式,使用Ctrl,Shift和Enter进行确认。
=AVERAGE(SMALL(A1:A10,ROW(1:3)))
试试这个: =AVERAGEIF(A1:A10, "<4")
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.