VLookup在Excel中匹配插入 [英] VLookup match insert in Excel

查看:221
本文介绍了VLookup在Excel中匹配插入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是本网站的新手;如果我有任何错误,请接受我的歉意。



我需要一些关于Excel中搜索和替换方法的帮助。



我的目标是从列(例如列D)中选择一系列随机值,并查看该列中是否存在该值的对应匹配(例如列A)。
如果这个值在列A中,我想将该值插入到相应的值列A的同一行中,而将其插入另一个列(例如列E)。


$ b $我厌倦了各种不同的功能,如 IF VLOOKUP MATCH ,但迄今为止没有运气。



有人可以告诉我如何做到这一点,还是甚至可以做? p>

谢谢!

解决方案

在单元格E1中, / p>

  = IFERROR(VLOOKUP(A1,D:D,1,0),)

在D列中查找A1,如果有匹配,则将该匹配值放在单元格E1中。



编辑:我把 IFERROR(),以便在没有匹配时返回空格。


I am new to this website; if I make any mistakes, please accept my apologies.

I am in need of some help regarding a search and replace method in Excel.

My goal is to select a range of random values from a column (e.g. column D) and see if there is a corresponding match for that value in the unique column (e.g. column A). If this value is in column A, I would like to insert that value in the same row as the corresponding value column A but into another column (e.g. column E).

I have tired various different functions such as IF, VLOOKUP, and MATCH but have had no luck so far.

Can someone please show me how can this be done or if its even possible to do?

Thank you!

解决方案

In cell E1, put this formula:

=IFERROR(VLOOKUP(A1, D:D, 1, 0), "")

This looks for A1 in column D and if there is a match, put that matched value in the cell E1.

EDIT: I put the IFERROR() so that blanks are returned when there is no match.

这篇关于VLookup在Excel中匹配插入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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