简体   繁体   English

如何在 Excel 中查找

[英]How to Vlook up this in Excel

I have reference Id and timestamp columns in sheet 1 and sheet 2. Reference Id in the both the sheets are same but not in the same order and timestamp is different in both sheets.我在工作表 1 和工作表 2 中有参考 ID 和时间戳列。两个工作表中的参考 ID 相同但顺序不同,并且两个工作表中的时间戳都不相同。 What I want to do is to get the timestamp from sheet 1 and sheet 2 for the same reference ID.我想要做的是从工作表 1 和工作表 2 中获取相同参考 ID 的时间戳。 I need to do it for more than 36000 reference Id cells.我需要为超过 36000 个参考 ID 单元格执行此操作。 Please help.请帮忙。

Sheet 1第 1 页表 1

Sheet2表 2 在此处输入图片说明

Expected Output预期产出在此处输入图片说明

Is there only one line for each Reference ID in each sheet?每个工作表中的每个参考 ID 只有一行吗? How do you need the output?你需要怎样的输出? Only the two timestamps?只有两个时间戳?

Update更新

In the expected output sheet you'll have two vlookups:在预期的输出表中,您将有两个 vlookups:

Column A | Column A | Column B | Column C | Column D |
------------------------------------------------------
Row 1    | Ref ID 1 |vlookup-1 |vlookup-1 | =(B1-C1) |
------------------------------------------------------
Row 2    | Ref ID 2 |   ''     |   ''     |   ''     |
------------------------------------------------------
Row 3    | Ref ID 3 |   ''     |   ''     |   ''     |
------------------------------------------------------

Where在哪里

vlookup1 =VLOOKUP(A1,Sheet1!$A$1:$B$36000,2,FALSE) vlookup1 =VLOOKUP(A1,Sheet1!$A$1:$B$36000,2,FALSE)

vlookup2 =VLOOKUP(A1,Sheet2!$A$1:$B$36000,2,FALSE) vlookup2 =VLOOKUP(A1,Sheet2!$A$1:$B$36000,2,FALSE)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM