With this table named jobSearches
:
I am able to calculate the Average of the first row using following formula:
=AVERAGE(INDEX(jobsearches,1,))
Note that INDEX(jobsearches,1,)
returns an array of values:
Question: Is it possible to calculate the AVERAGE for just the first n values of the resolved array, and not for the whole row?
You can do something like this:
=AVERAGE(INDEX(jobsearches,1,2):INDEX(jobsearches,1,11))
Which will return the average of the first 10 numbers on the first row.
这正是OFFSET(reference,rows,cols,height,width)
函数用于:
=AVERAGE(OFFSET(jobsearches,0,1,1,10))
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.