简体   繁体   中英

I am try to lookup value from one sheet to another sheets

Sorry it's my first post so please help me out

I am try to lookup value one sheet to from another sheet with respect to age range and Amount.

Please refer google sheets

https://docs.google.com/spreadsheets/d/1U8pZqSxIVzmVxGMqQhdz_9cKm-sR9b_UfFKAidKL97M/edit?usp=sharing

试试这个公式:

 =INDEX(Age!$C$2:$K$5,MATCH(B2,Age!B:B,0)-ROW(Age!$B$1),AGGREGATE(15,6,(COLUMN(Age!$C$2:$K$2)-COLUMN(Age!$C$2)+1)/(RIGHT(Age!$C$2:$K$2,2)*1>=C2)/(SUBSTITUTE(LEFT(Age!$C$2:$K$2,2),"-","")*1<=C2),1))

This seems to work for me by putting in cell E2...

=index(Age!$B:$K,MATCH($B2,Age!$B:$B,0),sum(filter(if(right(Age!$2:$2,2)+0<C2,1,0),right(Age!$2:$2,2)+0>0))+2)

在此处输入图像描述

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