当前位置:网站首页>Excel function formulas - LOOKUP function
Excel function formulas - LOOKUP function
2022-08-10 12:15:00 【keep your heart in mind】
EXCEL系列文章目录
Excel系列文章是本人亲身经历职场之后萌发的想法,为什么Excel覆盖如此之广,几乎每个公司、学校、家庭都在使用,但是它深藏的宝藏功能却很少被人使用,PQ、BI这些功能同样适用于数据分析;并且在一些需要简单及时的数据分析项目前,Excel是完胜python、R、SPSS这些科学专业的软件的.因此决心开启Excel篇章.
数据分析为什么要学Excel
Excel图表美化—表格美化
Excel函数公式大全—IF函数
Excel函数公式大全—IF家族函数
Excel函数公式大全—VLOOKUP函数
Excel函数公式大全—MATCH函数
Excel函数公式大全—LOOKUP函数
前言
前面的文章给大家介绍了VLOOKUP和HLOOKUPthese matching functions,But in the early days when these functions were not available,There is a more powerful function working for them,That is the protagonist of this articleLOOKUP函数;In the age of numerous matching functions,LOOKUPThere is a reason why functions can still stand,Then let Xiao Ming take everyone to take a brief look at thisLOOKUPThe power of functions!
也希望大家将想学习了解的函数留言 ,在后面的文章里我们一起学习分享 !
一、LOOKUP函数语法
1、Matching of array data
1.1、基本参数释义
LOOKUP(lookup_value,array)
LOOKUP(条件,搜索的区域)
- for the initial,The easiest way to match.
- 强烈建议使用 VLOOKUP 或 HLOOKUP,不要使用数组形式.
参数名称 | 说明 |
---|---|
lookup_value (必填) | 为函数LOOKUPThe value to find in the array.lookup_value可以为数字、文本、A logical value or a name or reference that contains a value. |
array (必填) | to contain text、A range of cells for numeric or logical values,Its value is used for ANDlookup_value进行比较. |
1、如果函数LOOKUP找不到lookup_value,Use less than or equal to in the arraylookup_value的最大数值.
2、函数HLOOKUP和函数VLOOKUPAllows indexing by row or by column,而函数LOOKUPAlways select the last value of a row or column.
1.2、图解算法
公式解释:找到C3到E12区域”甲"对应的数值.
1.3、实用案例
1.3.1、新建数据
为展示函数效果;数据均为Excel函数生成,无实际意义:
1.3.2、案例展示
Graphical algorithms have shown the basic usage of array types,The second small detail feature is shown here,代替IFS()函数工作.前文已提及IF()Advantages and disadvantages of family functions,此处不做赘述.If you want to know more, click the link directly.
替换IFS()工作:
=LOOKUP(E7,{0,“差”;60,“中”;80,“良”;90,“优”})
This method replaces the principle to formally construct array type data,进行范围匹配.Comparing the above two pictures can be found,IFSFunctions need to be written more,而LOOKUPWrite less,And the speed of running in invisible places has been improved a lot,The end result is the same.
2、Matching of vector data
2.1、基本参数释义
LOOKUP(lookup_value,lookup_vector,[result_vector])
LOOKUP(条件,Conditional search area,the corresponding search area)
- 提供数组形式是为了与其他电子表格程序兼容,这种形式的功能有限.
- 如果 LOOKUP 函数找不到 lookup_value,则该函数会与 lookup_vector 中小于或等于 lookup_value 的最大值进行匹配.
参数名称 | 说明 |
---|---|
lookup_value (必填) | 为函数LOOKUPThe value to find in the array.lookup_value可以为数字、文本、A logical value or a name or reference that contains a value. |
lookup_vector (必填) | for a range that contains only one row or one column.lookup_vectorThe value can be text、数字或逻辑值. |
[result_vector] (必填) | 只包含一行或一列的区域,Its size must matchlookup_vector相同. |
1、如果lookup_value小于lookup_vector中的最小值,函数LOOKUP返回错误值#N/A.
2、如果函数LOOKUP找不到lookup_value,则查找lookup_vector中小于或等于lookup_value的最大数值.
2.2、图解算法
公式解释:找到E3到E12区域寻找C3:C1对应”甲"position value.
2.3、实用案例
2.3.1、新建数据
为展示函数效果;数据均为Excel函数生成,无实际意义:
2.3.2、案例展示
Graphical Algorithms have shown the basic use of two vectors,And the first section also tells about itIFS与LOOKUPThe difference is shown here to show you how to write a vector.
替换IFS()工作:
=LOOKUP(E5,{0,60,80,90},{“差”,“中”,“良”,“优”})
总结
LOOKUP()函数今天就简单写到这儿,只有真正懂得函数的底层逻辑,才能写出复杂嵌套的函数公式.This function is not recommended for matching,Instead, the function parameter feature is recommended,to extract the desired value,As for what kind of characters to extract,就交给聪明的你们了.
也希望大家将想学习了解的函数留言 ,在后面的文章里我们一起学习分享 !
边栏推荐
- Microchip launched a high-performance 77GHz millimeter-wave radar chip, and has received tens of thousands of orders before mass production
- 16. Getting Started with Pytorch Lightning
- 面试官:你们是如何保证接口的幂等性?
- 网络基础(第一节)
- An enhanced dynamic packet buffer management. The core part of the paper
- 模块九 - 设计电商秒杀系统
- LeetCode 237. Delete a node in a linked list
- Configuration swagger
- Intel pushes 20220809 CPU microcode update to patch Intel-SA-00657 security vulnerability
- The author of open source also has a life problem
猜你喜欢
Network Fundamentals (Section 1)
16. Getting Started with Pytorch Lightning
VSCode remote connection server error: Could not establish connection to "xxxxxx" possible error reasons and solutions
mpf6_Time Series Data_quandl_correct kernel PCA_AIC_BIC_trend_log_return_seasonal_decompose_sARIMAx_ADFull
常量及数据类型你还记得多少?
mpf6_Time Series Data_quandl_更正kernel PCA_AIC_BIC_trend_log_return_seasonal_decompose_sARIMAx_ADFull
dedecms支持Word内容一键导入
皕杰报表在传参乱码
微信小程序提交审核历史版本记录从哪里查看
嘉为蓝鲸荣获工信部“数字技术融合创新应用解决方案”
随机推荐
态路小课堂丨如何为CXP光模块选择光纤跳线?
网络套接字(UDP和TCP编程)
LeetCode 138. 复制带随机指针的链表
用低代码驱动IT现代化
LeetCode 369. Plus One Linked List
You have a Doubaqiong thesaurus, please check it
LeetCode 19. Delete the Nth last node of the linked list
Network sockets (UDP and TCP programming)
Buckle Exercise - 61 Sort by frequency of characters
LeetCode 109. Sorted Linked List Conversion Binary Search Tree
力扣练习——56 寻找右区间
LeetCode 92. Reverse Linked List II
Color map and depth map to point cloud
LT8911EXB MIPI CSI/DSI转EDP信号转换
你有一份斗破苍穹词库,请查收
Licking Exercise - 60 Maximum key-value sum of binary search subtrees
LeetCode 24. Swap nodes in linked list pairwise
Licking Exercise - 58 Verifying Binary Search Trees
力扣练习—— 矩形区域不超过 K 的最大数值和(hard)
Where can I view the version record of WeChat applet submission review history?