简体   繁体   中英

Index and Match Lookup- Formulae in lookup range

I have two workbooks - Master work book as below

Code  Plan(KG)
2004  23
2009  67
3005  89
2003  36
4409  37
7809  25

The first column Code has formula(Ex: 2004 is extracted using formula from same sheet)

I have another sheet as below where i have to enter the plan every month. The code is fixed. But to extract plan i use INDEX and Match combination.

Code  Plan(kG)
2004
2009
3005
2003
4409
7809

The problem here is that since the lookup range has formula the plan column is returned as #NA in second column. But when i convert the master range of code from formulae to values the plan is extracted. Now i cannot change the data in master file every time.

Is there anyway around this without converting range from formulae to values?

=INDEX([Book5]Sheet1!$B:$B,MATCH(A2,[Book5]Sheet1!$A:$A,0))应该这样做。

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