简体   繁体   中英

Find column value from one sheet based on the order # on another sheet

So, on Sheet1, I have Data based on an Order # and I want the Multiplier that is associated with it. The Multiplier is on Sheet2 with the Order #, but the Order #'s and Multipliers associated always change spots every day so I cannot just copy and paste. I want the Multipler in line with the correct Order # on Sheet1. I figured to use some sort of VLOOKUP function but I am not sure what to do. I attached two pictures to help with the scenario.

工作表1

工作表2

In Sheet1!D2,

=index(sheet2!d:d, match(a2, sheet2!b:b, 0))
'error controlled
=iferror(index(sheet2!d:d, match(a2, sheet2!b:b, 0)), text(,))

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