当前位置:网站首页>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,就交给聪明的你们了.
也希望大家将想学习了解的函数留言 ,在后面的文章里我们一起学习分享 !
边栏推荐
- LeetCode 21. Merge two ordered linked lists
- 【Untitled】
- LeetCode 82. 删除排序链表中的重复元素 II
- 2016,还是到了最后
- LeetCode 146. LRU Cache
- Threshold-based filtering buffer management scheme in a shared buffer packet switch论文核心部分
- Pulling drills - 56 Finding the right interval
- Licking Exercise - 60 Maximum key-value sum of binary search subtrees
- 力扣练习——64 最长和谐子序列
- 制品库是什么?
猜你喜欢
OPNsense安装配置Zenarmor
dedecms支持Word内容一键导入
16. Getting Started with Pytorch Lightning
Network sockets (UDP and TCP programming)
可视化服务编排在金融APP中的实践
You have a Doubaqiong thesaurus, please check it
Do self-media monthly income tens of thousands?Several self-media tools that bloggers are using
[E-commerce operation] Do you really understand social media marketing (SMM)?
石墨文档打开文档时快速定位到上次写的位置
CLIP还能做分割任务?哥廷根大学提出一个使用文本和图像prompt,能同时作三个分割任务的模型CLIPSeg,榨干CLIP能力...
随机推荐
Licking Exercise - 59 From Binary Search Trees to Greater Sum Trees
搜索--01
Nocalhost - Making development more efficient in the cloud-native era
Excel函数公式大全—HLOOKUP函数
The author of open source also has a life problem
[E-commerce operation] Do you really understand social media marketing (SMM)?
LeetCode 24. 两两交换链表中的节点
LeetCode 237. Delete a node in a linked list
彩色图和深度图转点云
LeetCode 138. Copy a linked list with random pointers
Analysis of the name matching process between the LCD driver and the device (Tiny4412)
Introduction to Software Architecture
堪称神级的阿里巴巴“高并发”教程——基础+实战+源码+面试+架构 全包了
孩子自律性不够?猿辅导:计划表要注意“留白”给孩子更多掌控感
Flutter气泡框实现
Stroke Practice - 62 Valid Sudokus
CLIP还能做分割任务?哥廷根大学提出一个使用文本和图像prompt,能同时作三个分割任务的模型CLIPSeg,榨干CLIP能力...
LeetCode 61. 旋转链表
A detailed explanation of implementation api embed
mpf6_Time Series Data_quandl_更正kernel PCA_AIC_BIC_trend_log_return_seasonal_decompose_sARIMAx_ADFull