How to use VLOOKUP, INDEX, ... in Excel you should know

The functions VLOOKUP, INDEX, MATCH, ... are quite complex functions but are effective in data mining in Excel . In this article, I will guide you in detail how to use VLOOKUP and related functions effectively.

1. VLOOKUP function

Usage : Finds a specified value in the first column and pulls matching data from the same row in another column. This is one of the most popular functions and provides great support for complex office tasks.

Formula : = VLOOKUP (lookup_value, table_array, col_index_num, [range_lookup])

In which :

+ Lookup_value : The value to search.

+ Table_array : Two or more columns of data.

+ Col_index_num : Number of columns to pull data.

+ Range_lookup : Determine whether the search is completely accurate (FALSE) or just relatively accurate (TRUE or omitted).

Example : We use the VLOOKUP function to find the Bonus of each employee. The value to look for is Cell Position C2; The array to detect is the array F1: G3. When entering the formula = VLOOKUP (C2, $ F $ 1: $ G $ 3,2,0) (1) the result is STAFF 2000 and ROOMER 5000 (2).

How to use VLOOKUP, INDEX, ... in Excel you should know

2. INDEX function

Usage : Returns a reference to a cell inside an array based on the number of rows and columns you specify.

Formula : = INDEX (array, row_num, [column_num])

Of which : Array (required): A cell range or an array constant.

 

 

Note :

+ If the array has many rows and more than one column and only row_num or column_num is used, the index will return an array of the entire row or column in the array.

+ Row_num (required, unless column_num is present) : Selects the row in the array from which to return a value. If row_num is omitted, column_num is requested.

+ Column_num (optional) : Select the column in the array from which to return a value. If column_num is omitted, row_num is requested.

 

 

 

Example : When we need to get the value of the first row, second column in the table, we use the INDEX function . Array is the array we need to detect is B2: C5; Row_num is line 1; Column_num is column 2. When entering the formula INDEX (B2: C5,1,2,1) (1) the result is "HEAD OF ROOM" (2).

How to use VLOOKUP, INDEX, ... in Excel you should know

3. MATCH function

Usage : Looks up a specific value in a range of cells, and shows the relative position of that value.

Formula : = MATCH (lookup_value, lookup_array, [match_type])

In which :

+ lookup_value (required) : The value you want to match in the search array. Change the lookup value number can be a value (number, text, or logical value) or a cell reference to a number, text, or logical value.

+ lookup_array (required) : The range of cells to be searched.

+ match_type (optional) : Number -1, 0, or 1. The match type argument specifies how Excel matches the lookup value to values ​​in the lookup array. The default value for this argument is 1.

For example : When we need to know what position of CLOTH is in, we use MATCH function . When entering the formula = MATCH (FF2 & "*", "B2: B7", 0) (1), the result is 3 (2).

How to use VLOOKUP, INDEX, ... in Excel you should know

3. INDIRECT function

Usage : Returns a cell reference or range specified by a text string. Use the INDIRECT function when you want to change the reference to a cell in a formula without changing the formula itself.

Formula : = INDIRECT (ref_text, [a1])

In which :

+ Ref_text (required) : Reference to a cell containing the A1 reference style, the R1C1 reference style or a reference to the cell as a text string.

+ If the reference text is not a valid cell reference, INDIRECT returns the #REF! Error value . .

+ If ref_text refers to another workbook (an external reference), that workbook must be open. If the source workbook is not open, INDIRECT returns the #REF! Error value . .

 

 

Note :

External references are not supported in Excel Online.

+ This behavior is different from versions of Excel earlier than Microsoft Office Excel 2007, which will ignore the excess limit and return a value.

 

 

For example : When you only need to calculate the commission and you want to drag, drop or move the result box to another position without changing the money formula, we use INDIRECT . When entering the formula

= INDIRECT (“B2”, TRUE) * INDIRECT (“C2”, TRUE) (1) will give the result 700 * 100 = 70000 (2).

How to use VLOOKUP, INDEX, ... in Excel you should know

4. OFFSET function

Usage : Returns the reference to a range by a specified number of rows and a specified number of columns from a cell or range of cells. The returned reference can be a single cell or a range of cells. You can specify the number of rows and columns to return.

Formula : = OFFSET (reference, rows, cols, [height], [width])

In which :

+ Reference (required) : The reference area that you want to base the reference distance on. The reference range must refer to a cell or a range of adjacent cells; otherwise OFFSET returns the #VALUE! error value . .

+ Rows (required) : The number of rows, up or down, that you want the upper-left cell to refer to. Rows can be positive (which means below the starting reference) or negative (which means above the starting reference).

+ Cols (required) : Number of columns, to the left or right, that you want the cell in the upper left corner of the result to refer to. Columns can be positive or negative.

+ Height (optional) : The height, in number of rows, that you want to have for the returned reference. The height must be a positive number.

+ Width (optional) : The width, in the number of columns, that you want to have for the returned reference. Width must be a positive number.

Example : We use OFFSET to localize values, and then use the SUM function to calculate the sum. The cell we refer to is A1; compared to A1, the Rows of the reference range is below 1 cell, so Rows is 1; compared to A1, the left Cols is 1 cell, so Cols is 1; Height we take 3 lines; Width we get 2 columns. So the result when adding up all the values ​​in the region is 2025.

How to use VLOOKUP, INDEX, ... in Excel you should know

5. TRANSPOSE function

Usage : Converts a horizontal range of cells into a vertical range and vice versa, i.e. converts rows into columns and columns to rows.

Formula : = TRANSPOSE (array)

Doing

+ Step 1 : Select blank cells.

+ Step 2 : Enter = TRANSPOSE (B2: C4).

+ Step 3 : Enter the range of original cells.

+ Step 4 : Finally, press CTRL + SHIFT + ENTER.

Example : When we need to convert the whole product price list from vertical to horizontal, we use the TRANSPOSE function with the array of values ​​B2 to C4. When entering the formula = TRANSPOSE (B2: C4) (1) will give the result as shown (2).

How to use VLOOKUP, INDEX, ... in Excel you should know

6. HYPERLINK function

Uses : Creates a hyperlink to a document stored on the local network or the Internet.

Formula : = HYPERLINK (link_location, [friendly_name]).

In which :

Link_location can refer to a location in a document, like a specific cell or named range in a worksheet or in an Excel workbook, or to a bookmark in a Microsoft Word document.

The path can be to a file stored on the hard drive. The path can also be a universal naming convention (UNC) path on the server (in Microsoft Excel for Windows).

 

 

 

Note :

+ Link_location can be a text string between quotation marks or a reference to a cell containing a link as a text string.

+ Friendly_name can be a value, text string, name or cell containing jump text or value. If friendly_name returns an error value (for example #VALUE!), The cell displays an error instead of the jump text.

 

 

 

 

Example : Links that are long and confusing will be annoying to users. So please use HYPERLINK to make the interface easier to use. Entering the formula = HYPERLINK (A1, “LINK GOOGLE”) (1) will result in LINK GOOGLE (2).

How to use VLOOKUP, INDEX, ... in Excel you should know

The above article guided VLOOKUP and related functions. Hope that the above article will be useful to you.

Sign up and earn $1000 a day ⋙

Leave a Comment

What is the new Vietnamese Percussion EVKey? How to download and use the software EVKey

What is the new Vietnamese Percussion EVKey? How to download and use the software EVKey

EVKey is a popular Vietnamese typing software with many outstanding features. Learn how to download and use EVKey efficiently on Windows and Mac.

Learn technology BrightView LED Backlit HD display

Learn technology BrightView LED Backlit HD display

Discover the innovative features of the BrightView LED Backlit HD display technology used in HP laptops. Understand its advantages and disadvantages.

TypingMaster Pro Installation and User Manual

TypingMaster Pro Installation and User Manual

TypingMaster Pro, Installation and User Manual. Welcome to TypingMaster Pro. This powerful typing tutor will help you improve your typing substantially whether you are a novice or a seasoned professional. TypingMaster has many courses that will satisfy your changing needs as your skills and speed improve.

What to Do if Your Laptop Is Plugged In But Not Charging

What to Do if Your Laptop Is Plugged In But Not Charging

What to Do if Your Laptop Is Plugged In But Not Charging. When you plug in your laptop, you usually find yourself greeted with a cheerful chirp from your PC, a glowing LED indicator light, and a display that perks up and beams a bit more brightly. At least, thats what its supposed to do.

Fix laptop charging error but not on battery

Fix laptop charging error but not on battery

What to do when the laptop is not charged to the battery Very simple, you just need to follow the instructions to fix the laptop charging but not on the battery below.

TOP 7 best iOS emulator software on Windows computer you should use

TOP 7 best iOS emulator software on Windows computer you should use

Operating system emulator is a fairly popular and necessary application today. So let's follow the article to see where the iOS emulator is worth the most experience in the TOP 7 iOS emulator software on computers in this article!

Learn about Intel Iris Plus integrated graphics card on Intel Gen 10 CPUs

Learn about Intel Iris Plus integrated graphics card on Intel Gen 10 CPUs

Instead of using a discrete graphics card, the built-in graphics card in laptop CPUs is increasingly popular because of the convenience that it gives a laptop that is constantly on the move.

What is the IR camera on a laptop?

What is the IR camera on a laptop?

Recognizing the face on a laptop with Windows Hello is not a strange feature anymore, to complement the face unlock feature with higher security, the laptop manufacturers and typically Asus have added Add IR camera to increase security for the device. Let WebTech360 learn about IR cameras!

TOP 15 free, easy-to-use video cutting and joining software

TOP 15 free, easy-to-use video cutting and joining software

With the increasing need to create videos with their own colors, many people have turned to video cutting software. This article will introduce you to <! - {cke_protected} {C}% 3C!% 2D% 2Dtd% 20% 7Bborder% 3A% 201px% 20solid% 20% 23ccc% 3B% 7Dbr% 20% 7Bmso-data- Placement% 3Asame-cell% 3B% 7D% 2D% 2D% 3E -> TOP 15 free and easy-to-use PC video collage software that you can refer and learn now!

What is File, Folder? How to best name files and organize folders

What is File, Folder? How to best name files and organize folders

When you begin to familiarize yourself with the computer, you must have heard about the concepts of storage of the machine such as File or Folder. So what exactly is File and Folder, what are the notes to use? Check out the answer in the article below!

The simplest way to install Microsoft Office 2016 for Windows, Mac

The simplest way to install Microsoft Office 2016 for Windows, Mac

Along with the Windows 10 operating system, Office 2016 is the latest version of Microsoft Office with a beautiful graphical interface, giving users many new and attractive experiences. Today, WebTech360 will guide you through the easiest way to install and use Microsoft Office 2016 for Windows and Mac.

5 ways to copy website content are not simple and effective

5 ways to copy website content are not simple and effective

While surfing the web on your computer, you may encounter content that you cannot copy. So how can I copy this content? Let's find out!

How to use ipconfig command to refresh, reset IP address for the computer

How to use ipconfig command to refresh, reset IP address for the computer

The ipconfig command is a utility that you need to know when using your computer such as helping to view IP address configuration information, re-apply ip from DHCP server, clear DNS cache, ... So this article would like to guide how to use the command. ipconfig so that you do not know can refer to.

4 ways to reset Windows computer to its original state are simple and effective

4 ways to reset Windows computer to its original state are simple and effective

Resetting the computer will help your computer clean and work well as when you first bought it, so how is reset? Let WebTech360 learn 4 simple and effective ways to install Windows 10 on its initial state.

iPhone LL / A code is from which country? Made where? Use it well?

iPhone LL / A code is from which country? Made where? Use it well?

Understanding the iPhone LL / A code is essential. Discover what country it comes from, where the iPhone is made, and how to utilize this code effectively!

How to turn off, exit child mode when forgetting password on Samsung devices

How to turn off, exit child mode when forgetting password on Samsung devices

Learn how to exit Kids Home mode on Samsung devices, even when you

What to do when your lover blocks Zalo? How does Zalo feel blocked?

What to do when your lover blocks Zalo? How does Zalo feel blocked?

Discover effective strategies to deal with being blocked on Zalo by a lover. Explore insights into the emotional impacts of being blocked in a relationship.

Review movie Saigon In The Rain: Watch all the movies, memorize the song

Review movie Saigon In The Rain: Watch all the movies, memorize the song

Discover the talent behind the movie Saigon In The Rain and analyze its emotional depth. Are young dreams portrayed accurately?

iPhone TA / A code from which country? Made where? Use it well?

iPhone TA / A code from which country? Made where? Use it well?

Discover the origin of your iPhone with TA / A code. Understand its quality and warranty policies.

16 common errors on Zalo, causes and quick fixes

16 common errors on Zalo, causes and quick fixes

Discover solutions for 16 common errors on Zalo! This guide covers causes and quick fixes to ensure a smooth experience on the app.

How to turn off vibration, message alert Zalo on iPhone and Android phones

How to turn off vibration, message alert Zalo on iPhone and Android phones

Are you busy and don’t want to be disturbed by Zalo message alerts? Follow these simple steps to turn off vibration and message alerts for Zalo on both iPhone and Android devices.

What is Zalo Media Box? How to delete, block messages from Zalo Official Account

What is Zalo Media Box? How to delete, block messages from Zalo Official Account

Zalo Media Box provides useful information to Zalo users. Learn what Zalo Media Box is and how to delete or block messages from Zalo Official Account for a better experience!

iPhone KH / A code of which country? Made where? Use it well?

iPhone KH / A code of which country? Made where? Use it well?

Discover everything about the iPhone KH / A code, its origin, and whether it is a reliable choice for users. This article offers insights into the iPhone and its market codes.

Learn about Acer CineCrystal LED Backlight technology

Learn about Acer CineCrystal LED Backlight technology

Acer CineCrystal LED Backlight technology enhances display quality on Acer laptops. Learn about its features, advantages, and disadvantages to make informed decisions.

What is Mi Home app? How to download and create an account using Mi Home

What is Mi Home app? How to download and create an account using Mi Home

Discover the Mi Home app essential for managing devices in the Xiaomi ecosystem. Learn about its features, download process, and how to create an account!

What is the new Vietnamese Percussion EVKey? How to download and use the software EVKey

What is the new Vietnamese Percussion EVKey? How to download and use the software EVKey

EVKey is a popular Vietnamese typing software with many outstanding features. Learn how to download and use EVKey efficiently on Windows and Mac.

iPhone J / A code of which country? Made where?

iPhone J / A code of which country? Made where?

Learn about the significance of the J/A code on your iPhone, including its market relevance and the countries involved in its production.

Instructions on how to check hidden iCloud on iPhone, iPad simple and effective

Instructions on how to check hidden iCloud on iPhone, iPad simple and effective

Discover how to check for hidden iCloud on your iPhone and iPad effortlessly. Learn the effective methods to uncover hidden iCloud and secure your device.

What is hybrid watch? Features, advantages and disadvantages of Hybrid Watch

What is hybrid watch? Features, advantages and disadvantages of Hybrid Watch

Hybrid Watches merge the aesthetics of mechanical watches with the functionalities of smartwatches. Discover their features, advantages, and disadvantages in detail.