有可能使用范围的Vlookup吗? [英] Is it possible to use Vlookup with a range?

查看:144
本文介绍了有可能使用范围的Vlookup吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我没有写任何宏多年,所以生锈了。

I've not written any macros for some years so am rusty.

对于Excel 2007,我需要一整列数据(假设它是列 A ),并且该列中的每个单元格试图找到另一个工作表的列 C 中的值。

With Excel 2007 I need go through a whole column of data (assume it's column A) and for each cell in that column try to find the value in column C of another worksheet.

可以 Vlookup 这样做还是需要使用其他功能?

Can Vlookup do this or would I need to use another function?

推荐答案

使用第二张表格参考(Sheet2)的一个基本示例,列A中的范围:

A basic example using a second sheet reference (Sheet2), with a range in column A:

=VLOOKUP(Sheet2!C2,A2:B5,2,FALSE)

一个工作的截图示例:

有用的参考

VLOOKUP功能

这篇关于有可能使用范围的Vlookup吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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