简体   繁体   中英

VLOOKUP using data sheet

Based on a sample here:

3P 3RD PARTY RTU
AE ACCESS CONTROL EQUIP
AH ACCESS HATCHES
AI AERIAL
BB BHOLE PUMP MEC ELEC
BG BUILD GENERAL ADMIN
BP BST PUMPING MEC ELEC
BV BOREHOLE SHAFT CIVIL
BX BUILDING OPERATIONAL
CB CIRCUIT BREAKER
CC COMMS CONTROLLER
CI CHAMBER
CM COMPRESSOR
CY CONTROL SYSTEMS
DB DISTRIBUTION BOARDS
DL Datalink
DO Doors
DP DOSING PUMPS
DU DECONTAMINATION UNIT

How can I populate fields on another sheet using the above in a separate data sheet?

For example if I want the column to be populated with "BHOLE PUMP MEC ELEC" if BB is found in the column next to it.

that's a bog standard Vlookup. If cell A1 contains "BB" and the table above is on Sheet2, then the formula is

=vlookup(a1,Sheet2!A1:B100,2,false)

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