简体   繁体   中英

How do you do an INDEX MATCH with two criteria on dates on Google Sheet

I am trying to achieve this INDEX(Global:C5;C243; MATCH(A2: Global;A5;A243. 0): 0) which is working fine like this: But I would like to add two criteria in the match on dates Global.B5:B243 >= B1 and Global!B5:B243 < C1.

Do you have any suggestions?

Use Filter:

=index(filter(Global!C5:C243,A2= Global!A5:A243,Global!B5:B243 >= B1,Global!B5:B243 < C1),1)

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