简体   繁体   中英

Trying to offset a max indirect value in excel and running into problems

Hopefully someone can help figure out why this statement doesn't work

I am trying to return a value 1 row down from the max value

=offset(MAX(INDIRECT(ADDRESS(80,MATCH(B5,INDIRECT(B4),0)+4,1,TRUE,B4)):INDIRECT(ADDRESS(80,MATCH(B6,INDIRECT(B4),0)+4,4,TRUE,B4))),1,0)

Use this

=INDEX(TheRangeToSearch,MATCH(MAX(TheRangeToSearch),TheRangeToSearch,0)+1)

Change TheRangeToSearch to reference the range containing values you want to find the maximum of.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM