简体   繁体   中英

excel if and index formula for calling multiple values

=IFERROR(INDEX(Temp!$E$2:$E$93,
               SMALL(IF(A$1=Temp!$B$2:$B$93,ROW(Temp!$E$2:$E$93)-2,""), 
               ROW()-2)),"")

I am trying to add a formula to do vlookup for multiple values. A1 should be source value and if there is matching data in column BI would like to call column E data. Currently its giving me a blank cell. How can I fix this code to make it work?

Works for me (simplified version).

Are you using Ctrl + Shift + Enter to apply the array formula?

在此处输入图片说明

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