链接excel列 [英] link excel columns

查看:100
本文介绍了链接excel列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试链接2个类似的列表:



列表1

  AB 
0001公司A
0002公司B

列表2

  AB 
0002 email1
0001 email2

我希望输出如下:

  ABC 
0001公司A电子邮件2
0002公司B电子邮件1

什么excel功能应该使用?

解决方案

给定,



列表1



  AB 
0001公司A
0002公司B
pre>

列表2

  DE 
0002 email1
0001 email2

在列 C (单元格 C1 )put:



= VLOOKUP(D1,D1:E2,2 ,FALSE)



并将其垂直复制到根据需要,可以使用许多单元格。



您应该最终使用

  ABCDE 
0001公司A电子邮件2 0002电子邮件1
0002公司B电子邮件1 0001电子邮件2

解释一下关于 VLOOKUP



VLOOKUP(查找值或单元格包含值,表与值匹配,表的列返回值,查找完全匹配(TRUE或FALSE))


I'm trying to link 2 lists similar to this:

List 1

 A        B 
0001   Company A
0002   Company B

List 2

 A        B
0002   email1
0001   email2

I want the output to be like this:

 A        B          C
0001   Company A   email2
0002   Company B   email1

What excel function should I use?

解决方案

Given,

List 1

 A        B 
0001   Company A
0002   Company B

List 2

 D        E
0002   email1
0001   email2

In column C (cell C1) put:

=VLOOKUP(D1,D1:E2,2,FALSE)

and copy it vertically to as many cells as needed.

You should end up with

 A        B          C        D       E
0001   Company A   email2   0002   email1
0002   Company B   email1   0001   email2

To explain a bit about VLOOKUP:

VLOOKUP(lookup value or cell containing value, table with values to match against, column of table to return value from, find exact match (TRUE or FALSE))

这篇关于链接excel列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆