简体   繁体   中英

VLOOKUP multiple results

I'm currently stuck with getting several VLOOKUP results. I've tried the formula below:

=IFERROR(INDEX(Tblgnip3[CONDITION / STATUS], SMALL(IF(Tblgnip3[E.M NUMBER]=$I$10, ROW(Tblgnip3[E.M NUMBER])-ROW($I$10)+1), ROW('ASSET HISTORY TRACKER'!I7:'ASSET HISTORY TRACKER'!I7))),"")

However, it gives me a different result from the different cell.

Here's my current build:

2 Sheets: The Sheet where I gather the result is called "ASSET HISTORY TRACKER" The Sheet where the result is displayed is called "ITEM TRACKER"

Table: tblgnip3 is the table where I am getting the data.

Columns are: EM NUMBER, ITEM CODE, ITEM TYPE, MAKE/MODEL W/ SERIAL NUMBER, DEPARTMENT, PURCHASED DATE, PURCHASED PRICE, CONDITION / STATUS, PREVIOUS CDP, CURRENT CDP, PREVIOUS STAFF, CURRENT STAFF, DATE UPDATED / TRANSFERRED, UPDATED BY, LOCATION, and WARRANTY

ITEM TRACKER SHEET: The cell I10 is my lookup value.

Can someone put me in the right direction?

Thanks in advance!

You should use Pivot Table. For exam: 在此处输入图片说明

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