当前位置:网站首页>Excel function formulas - HLOOKUP function
Excel function formulas - HLOOKUP function
2022-08-10 12:05:00 【keep in mind】
EXCEL系列文章目录
Excel系列文章是本人亲身经历职场之后萌发的想法,为什么Excel覆盖如此之广,几乎每个公司、学校、家庭都在使用,但是它深藏的宝藏功能却很少被人使用,PQ、BI这些功能同样适用于数据分析;并且在一些需要简单及时的数据分析项目前,Excel是完胜python、R、SPSS这些科学专业的软件的.因此决心开启Excel篇章.
数据分析为什么要学Excel
Excel图表美化—表格美化
Excel函数公式大全—IF函数
Excel函数公式大全—IF家族函数
Excel函数公式大全—VLOOKUP函数
Excel函数公式大全—MATCH函数
Excel函数公式大全—HLOOKUP函数
前言
Someone always remembers number one,And ignore the existence of the second place;As most people know, the first man to walk on the moon was Armstrong,But few people know about Buzz·Aldrin was the second man to walk on the moon.
在excelThis is also the case in the world of formulas,The king of functions has been published beforeVLOOKUP()函数,I believe many people are very familiar with this function;But its sibling functionHLOOKUPThe popularity has been greatly reduced.This article will lead you closerHLOOKUP,Let me show you the difference between the two brothers.也希望大家将想学习了解的函数留言 ,在后面的文章里我们一起学习分享 !
一、HLOOKUP函数语法
HLOOKUP(lookup_value,table_array,row_index_num,[range_lookup])
HLOOKUP( 查找的内容 ,查找区域 , 第几行,查找方式)
- HLOOKUP 指定条件在指定区域横方向查找
| 参数名称 | 说明 |
|---|---|
| lookup_value (必填) | 要查找的值. 要查找的值必须列于在参数参数中指定的单元格table_array列中,也可以是引用单元格. |
| Table_array (必填) | HLOOKUP 在其中搜索 lookup_value 和返回值的单元格区域. 可以使用命名区域或表,并且可以在参数中使用名称,而不是单元格引用. |
| row_index_num (必填) | 为table_arrayThe row number of the matching value to be returned in .row_index_num为1时,返回table_array第一行的数值,row_index_num为2时,返回table_array第二行的数值,以此类推.如果row_index_num小于1,函数HLOOKUP返回错误值#VALUE!;如果row_index_num大于table-array的行数,函数HLOOKUP返回错误值#REF!. |
| range_lookup (选填) | 一个逻辑值,该值指定希望 HLOOKUP 查找近似匹配还是精确匹配:近似匹配【1/TRUE】 假定表中的第一列按数字或字母顺序排序,然后搜索最接近的值. 这是未指定值时的默认方法. 完全匹配 【0/FALSE 】将搜索第一列中的确切值. |
示例:
=HLOOKUP(“轴承”, A1:C4, 3, FALSE) *Find the bearing on the first row,and return the same column(列 B)中第 3 行的值. *
=HLOOKUP(“螺栓”, A1:C4, 4) Look for the bolts in the first row,and return the same column(列 C)中第 4 行的值.
=HLOOKUP(3, {1,2,3;“a”,“b”,“c”;“d”,“e”,“f”}, 2, TRUE) Find a number in a three-line array constant 3,and return the same column(In this case it is the third column)中第 2 行的值. There are three rows of values in the array constant,And use semicolons on each line ( ; ) 分隔. 因为在第 2 行和第 3 列(同一列)中找到 c,因此将返回 c.
二、图解算法

公式解释:in the selected area,Find column name equals “数学” 对应的第9行的值.
三、对比VLOOKUP

Comparing the two pictures can be seen,The parameters of the formula are basically the same,Take the lookup value, respectively、查找范围、第几行or列、匹配方式.Enough to see the similarity between the two brothers,The real difference is the inner logic of how the formula works;Both their personalities are inconsistent.One likes sweet,One likes spicy,One is North,One is the South.正是因为这样的关系,This has led to the survival of the fittest in the waves of history for the two formulas.
in most forms,展现过程中,Usually stored in the form of columns,这使得VLOOKUP的使用越来越多,也使得HLOOKUP无用武之地.
总结
HLOOKUPIt's just rarely used in most forms,But I still hope you can understand,for later needs,It is also an accumulation.博观而约取,厚积而薄发!
也希望大家将想学习了解的函数留言 ,在后面的文章里我们一起学习分享 !
边栏推荐
猜你喜欢

AutoCAD Map 3D功能之一暴力处理悬挂点(延伸)

Where can I view the version record of WeChat applet submission review history?

英特尔推送20220809 CPU微码更新 修补Intel-SA-00657安全漏洞

A little self-deprecating deconstruction about farmers "code"

单目操作符(含原码反码补码转换)

Do self-media monthly income tens of thousands?Several self-media tools that bloggers are using

std::move()

dedecms支持Word内容一键导入

LeetCode50天刷题计划(Day 17—— 下一个序列(14.50-16.30)

使用哈工大LTP测试分词并且增加自定义字典
随机推荐
正则表达式常用示例
从源码角度分析UUID的实现原理
零基础想自学软件测试,有没有大佬可以分享下接下来的学习书籍和路线?
LeetCode 362. Design Hit Counter
LeetCode 25. A set of K flipped linked lists
即时零售业态下如何实现自动做账?
传三星3nm斩获第二家客户,目前产能已供不应求
LeetCode 362. Design Hit Counter(计数器)
LeetCode 24. 两两交换链表中的节点
中芯CIM国产化项目暂停?上扬软件:未停摆,改为远程开发!
Licking Exercise - 58 Verifying Binary Search Trees
面试官:项目中 Dao、Service、Controller、Util、Model 怎么划分的?
力扣练习——58 验证二叉搜索树
Centos7 environment uses Mysql offline installation package to install Mysql5.7
LeetCode 92. 反转链表 II
LeetCode 21. 合并两个有序链表
It is rumored that Samsung 3nm has won the second customer, and the current production capacity is in short supply
三星计划2023年开始在越南生产半导体零部件
Centos7环境使用Mysql离线安装包安装Mysql5.7
力扣练习——61 根据字符出现频率排序