简体   繁体   中英

How to INDEX from Sheet2 and Sheet3 to find value for Sheet1

On Sheet1 I have data based on an Order # and I want the Multiplier that is associated with it. The Multiplier is on both Sheet2 and Sheet3 with the Order #, but the Order #'s and Multipliers associated always change spots in the same column every day so I cannot just copy and paste. I want the Multipler in line with the correct Order # on Sheet1. I attached pictures to help visualize, but the formula I have so far is just for getting Sheet2 Multipliers as I forgot about the 3rd sheet.

工作表1

工作表2

工作表3

堆叠两者,如果Sheet2失败,则将查找传递给Sheet3。

=iferror(iferror(index(sheet2!d:d, match(a2, sheet2!b:b, 0)), index(sheet3!d:d, match(a2, sheet3!b:b, 0))), text(,))

How about you use a vuplook with iferror. Something like this column D:

= iferror(vuplook(A2;Sheet2!B2:D8;4;true);vuplook(A2;Sheet3!B2:D8;4;true))

That should get the multiplier from sheet two, and if it is not here it should return it from sheet3.

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