简体   繁体   中英

Retrieving data from another spreadsheet

I'm using Excel 2002. And i would like to know the easiest method in grabbing data from another spreadsheet whenever a key number is inserted.

This is first worksheet. I need data to be automated inserted to Column E whenever Column C is entered with numbers. These numbers are not any numbers but key numbers from worksheet 2

在此处输入图片说明

This is the second worksheet. So for example, I key in 208 in worksheet 1, Column E from worksheet 1 should automatically grab AFI number from Column G of worksheet 2.

在此处输入图片说明

Additional : Worksheet 1 and worksheet 2 have primary fields which is "Monthly Payment" I'm contemplating between Vlookup. Please advise.

UPDATES :

ERROR MESSAGE 1 :

在此处输入图片说明

ERROR MESSAGE 2 :

在此处输入图片说明

You have to use vlookup for this case. Paste this to E2 on Sheet1 and drag down

=IFERROR(VLOOKUP($C2;Sheet2!$D$2:$G$9999;4;FALSE);"")

If your data sheet name is different than Sheet2 you can change it from the formula.

Regards,

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