In Excel table processing, the VLOOKUP function is a powerful tool for finding and extracting data in tables. PHP editor Xiaoxin will introduce you in detail how to use the VLOOKUP function to help you easily master this practical skill. From basic syntax to usage tips, we break it down one by one to give you an in-depth understanding of the powerful functions of the VLOOKUP function. Continue reading below to master the essence of using the VLOOKUP function and improve your data processing efficiency!
If there is duplicate data in the table, conditions must be added to limit the query. The formula used to find Class 2 Li Bai in the picture is [=VLOOKUP(F5&G5,IF({1,0},A3:A11&B3:B11,D3:D11),2,FALSE)].
3. Reverse search
We want to use VLOOKUP to query Li Bai’s job number, which is a reverse search, using the known name to find the job number on the left , the formula is [=VLOOKUP(F5,IF({1,0},B3:B11,A3:A11),2,FALSE)].
4. One-to-many query
One piece of information matches multiple employees, and you can view employee names by section. The picture below takes the marketing department as an example to query all employees in the marketing department. Name, the formula is [=IFERROR(VLOOKUP(ROW(A1),$A$2:$E$11,4,0),"")].
5. Automatically match the third parameter
Use the function once to get multiple rows and columns of data. You can query the department and name through the job number. The formula is [=VLOOKUP($F3,$A$2:$D$13,MATCH(H$2,$A$2:$D$2,0),FALSE)]
6. Wildcard search
Wildcards are commonly used symbols
: represents any 1 character
*: represents any multiple characters
We can use wildcards to perform fuzzy searches when you are in information memory Used when fuzzy. If you don’t know the name, you can use this method to query. The formula in the picture is [=VLOOKUP(F4,B3:C11,2,0)].
7. Interval query
Interval query needs to build the interval first. The green marked data table in the figure is the interval. At this time, you can query the corresponding commission, but you need to Note that the fourth parameter is 1, and the formula is [=VLOOKUP(B4,$E$11:$F$16,2,TRUE)].
8. Data Extraction
Obtain data from a bunch of characters, exclude non-numeric content, and identify valid information. The formula is [=VLOOKUP(0,MID( A3,ROW($1:$102),11)*{0,1},2,FALSE)].
9. Find the maximum/nearest value
When looking for the maximum and minimum sales on a certain day, first use the [Sort] tool to [sort in descending order], and then use the formula [ =VLOOKUP(F3,A2:C14,3,0)].
10. Skip empty characters and search
If there are spaces in the string, the result #N/A will be returned. In this case, you need to combine the TRIM function to clear the spaces in the text. Then query the data and query Zhang 3’s basic salary in the data table with spaces. The formula is [=VLOOKUP(TRIM(G2),TRIM(B1:E6),4,FALSE)].
11. Merge cell query
To merge different cell data for query, you need to use the [INDIRECT] function to jump. The picture shows the situation where the name is known. Next, unify the data and query the results of Li Bai in Class 2. The formula is [=VLOOKUP(G5,INDIRECT("b"&MATCH(F5,A:A,0)&":D11"),3,0)] .
The above is the detailed content of How to use the vlookup function How to use the vlookup function. For more information, please follow other related articles on the PHP Chinese website!

Ditch the Calculator: Why and How to Use Excel for All Your Calculations I haven't touched a calculator in ages. Why? Because Microsoft Excel handles all my calculations with ease, and it can do the same for you. Why Excel Trumps a Calculator While

Creating tables in Word, although improved, is still cumbersome and sometimes brings more problems. This is why you should always create tables in Microsoft Excel. Why is it better to create tables in Excel? In short, Word is a word processor, while Excel is a data processor. So Word is not built for the best table creation, but its similar product, Excel. Here are just some of the reasons why creating tables in Excel is better than using Microsoft Word: Although it is surprising that you can use many Excel-like features in Microsoft Word tables, in Excel you

Enhance Your Excel Charts: Reducing Gaps Between Bars and Columns Presenting data visually in charts significantly improves spreadsheet readability. Excel excels at chart creation, but its extensive menus can obscure simple yet powerful features, suc

Excel web version features enhancements to improve efficiency! While Excel desktop version is more powerful, the web version has also been significantly improved over the past year. This article will focus on five key improvements: Easily insert rows and columns: In Excel web, just hover over the row or column header and click the " " sign that appears to insert a new row or column. There is no need to use the confusing right-click menu "insert" function anymore. This method is faster, and newly inserted rows or columns inherit the format of adjacent cells. Export as CSV files: Excel now supports exporting worksheets as CSV files for easy data transfer and compatibility with other software. Click "File" > "Export"

Quick View of AVERAGEIF and AVERAGEIFS Functions in Excel Excel's AVERAGEIF and AVERAGEIFS functions can be used to calculate the average value of a dataset. However, unlike simpler AVERAGE functions, they are able to include or exclude specific values in the calculation. How to use the AVERAGEIF function in Excel Excel's AVERAGEIF function allows you to calculate the average value of a filtered dataset based on a single condition set. AVERAGEIF function syntax The AVERAGEIF function contains three parameters: =AVERAGEIF(x,y,z)

Master Microsoft Excel with these essential keyboard shortcuts! This cheat sheet provides quick access to the most frequently used commands, saving you valuable time and effort. It covers essential key combinations, Paste Special functions, workboo

Excel's LAMBDA Functions: An easy guide to creating custom functions Before Excel introduced the LAMBDA function, creating a custom function requires VBA or macro. Now, with LAMBDA, you can easily implement it using the familiar Excel syntax. This guide will guide you step by step how to use the LAMBDA function. It is recommended that you read the parts of this guide in order, first understand the grammar and simple examples, and then learn practical applications. The LAMBDA function is available for Microsoft 365 (Windows and Mac), Excel 2024 (Windows and Mac), and Excel for the web. E

Quick Links Why Use the Camera Tool?


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

SublimeText3 Linux new version
SublimeText3 Linux latest version

Notepad++7.3.1
Easy-to-use and free code editor
