当前位置:网站首页>Excel中VLOOKUP函数简易使用——精确匹配或近似匹配数据
Excel中VLOOKUP函数简易使用——精确匹配或近似匹配数据
2022-06-29 07:03:00 【牛奶咖啡13】
一、问题描述
在我们使用Excel的过程中,会遇到已经有一份完整的信息记录表,而业务经常需要从完整记录表中获取对应内容到业务表中,这时我们又不希望使用手动查找办法一个个查找匹配,而是希望能够一下就能精确匹配到完整表中的内容;刚好Excel中的VLOOKUP函数可以实现这个效果。
二、Excel的VLOOKUP语法
//VLOOKUP的使用语法
VLOOKUP(需要查找的值,查找区域,要返回的结果在查找区域的第几列,精确匹配或近似匹配[0是精确查找、1是近似查找])
三、VLOOKUP的使用情景
3.1、精确查找
可以根据唯一内容进行查找(如下所示有一张基础完整信息表,其他表想要根据已经的信息获取完整表中对应的其他内容就可以使用:这里是根据人员名称获取其所在的部门演示)


3.2、 近似匹配


3.3、单元格格式不一致
注意:当使用VLOOKUP函数时,如果遇到明明自己编写的Vlookup函数内容正确,但是显示结果却是【#N-A】的情况,则先检查两个单元格的格式是否一致,只用选中需要填充数据列,设置单元格格式与匹配的单元格列格式一致就解决这个错误了。
![]()
如下是设置列的单元格格式:

四、其他资料
Excel:史上最全的VLOOKUP应用教程
https://zhuanlan.zhihu.com/p/148938771
边栏推荐
- À propos de Hook
- Simple use of AWS elastic Beanstalk
- [eye of depth Wu Enda's fourth operation class] summary of multiple linear regression with multiple variables
- 环境准备 - 工程管理
- 【修复收藏功能、更新登录接口】知识付费小程序、博客小程序、完整版开源源码、资源变现小程序,带299整站资源数据
- 声波通讯 - 流式数据处理 - 窗口对齐
- MySQL system keyword summary (official website)
- Segment tree and use
- Behaviortree in ros2
- C compiler - implicit function declaration
猜你喜欢

【6G】算力网络技术白皮书整理

图文详解JVM中的垃圾回收机制(GC)

Stm32 usart+dma usage based on Hal Library

Cartographer中的线程池操作

Simulation time and bag operation in ROS

PostgreSQL installation: the database cluster initialization failed, stack hbuilder installation

SQL Server enable CDC

变形金刚Transformer详解

What are the constraints in MySQL? (instance verification)

Mongodb- connect to the database using the mongo/mongosh command line
随机推荐
C mqtt subscription message
Development trend of garment industry | supply chain | intelligent manufacturing
PostgreSQL installation: the database cluster initialization failed, stack hbuilder installation
js异或混淆代码
js:Array. Reduce cumulative calculation and array consolidation
A review of visual SLAM methods for autonomous driving vehicles
关于SQL语句的大小写
C编译器 - 隐式函数声明
JS XOR obfuscation code
关于SqlSugar的多对多的级联插入的问题(无法获取集合属性的id,导致无法维护中间表)
Automatic operation and maintenance management platform - construction and daily use of SPuG
Thread pool operations in cartographer
What are the constraints in MySQL? (instance verification)
自动化测试 - uiautomator2框架应用 - 自动打卡
Why are two SQL statements that execute very fast, especially after the Union
声波通讯 - 流式数据处理 - 窗口对齐
Indextree and Application
Notice on organizing the second round of the Northwest Division (Shaanxi) of the 2021-2022 National Youth electronic information intelligent innovation competition
基础语法 - 位运算
Use GPU training in the cloud on the laboratory (take yolov5 as an example)