How many kilometers is a light year, how many earth years?
How many kilometers are 120 light years? How many kilometers are 40 light years? Let's find out together about a light year to find the answer!
The Vlookup function is a function that searches for values to return other values in an existing worksheet. The Vlookup function is one of the most used functions in Excel , applying to many practical tasks such as calculating electricity charges based on electricity numbers, giving academic results based on average score, taking data on place of birth, gender Employee calculation based on employee name or code ...
Although the applicability is very high, many people still do not understand the nature of this function like? Syntax like? How to use this function? So please refer to the following article of Download.com.vn to better understand:
Syntax:
= VLOOKUP (lookup_value, table_array, col_index_num, [range_lookup])
Quick explanation: VLOOKUP (The value you want to look up, the range in which you want to find the value, the number of columns in the range containing the return value, Exact or Relative return results - expressed as 0 / FALSE or 1 / TRUE)
Explain each value:
Relative searching with the Vlookup function is a way of finding relative data based on the difference between the first column data of the search area. To find relative results that return true results, your original data table (which is your Table_array table ) is required to sort in ascending order.
Example 1: Please classify students in the list below, based on the table of rules of grading by:
To classify academic performance for a student list, use the formula:
=VLOOKUP(C4,$C$11:$D$15,2,1)
Then press Enter , then scroll down to the remaining cells you will get the results as shown below:
Example 2: Based on the employee code table below, fill in their Qualifications and Hometown .
To fill in the Employee Information field of cell E23 use the following formula:
=VLOOKUP(A23,$A$29:$C$34,2,0)
And here is the result:
Also fill in the Level for F23, use the following formula:
=VLOOKUP(A23,$A$29:$C$34,3,0)
And this will be the result that will be obtained:
In addition to the simple usage as above, you can customize to have a more flexible Vlookup function, especially in cases where the search data table is too wide and the column counting becomes ... tiring.
The MATCH function looks for a specified value in a range of cells, then returns the relative position of that value in this range. For example, if the range A1: A3 contains values 5, 10 and 15, the formula = MATCH (10, A1: A3,0) will return the number 2, because 10 is the second value in the range A1: A3. The syntax of the Match function is as follows:
= MATCH (lookup value, lookup array, [match type])
So, where does the Match function apply to Vlookup? Please tell you it is in the value Col_index_num - the column to get data. Putting it into a specific example will make it easier for you to imagine.
Example: Given the following data table:
Need to filter the data by month for each employee in the main table (the month column in the main table may vary). Specifically, the spreadsheet will look like this:
The formula used in the lesson:
= VLOOKUP (A3; $ A $ 14: $ G $ 20; MATCH ($ B $ 2; $ A $ 13: $ G $ 13; 0) ; 0)
The Match function will help you count the number of columns to be retrieved in the lookup data table (side table) of the Vlookup function. So, just change the Month data in cell B2 , you will have the exact data for each corresponding month. In the following example, I change the month column data in the Main Table and the result is:
Also one of the most used functions, Left / Right and Mid can combine with Vlookup and make miracles in search.
Example: For the following table, fill in the blank data based on the sub tables below:
The input data to fill in the data is described as follows: The first 2 characters of the Employee descriptor code for the job position, the middle character in the gender description, the characters at the end of the description for the multiplier tablets work. Based on that, we will fill in the formula for calculating each column as follows:
CV position | = VLOOKUP ( LEFT (C3; 2) ; $ B $ 22: $ C $ 24; 2; 0) |
Workplace | = VLOOKUP ( RIGHT (C3; LEN (C3) -5) ; $ E $ 22: $ F $ 23; 2; 0) |
Sex | = VLOOKUP ( MID (C3; 4; 1) ; $ E $ 27: $ F $ 28; 2; 0) |
And this is the result:
The #NA error stands for Not Available Error which means the corresponding value cannot be found. It is possible that in this case you have used absolute search and the data you are looking for is not in the range containing the lookup value ( Table_array ).
There are many reasons for this: it is possible that the lookup value ( Lookup_value ) in the main table and sub-table (in the above example) is different with only one space (space), the data cannot be found. or you get the wrong part of the Table_array area so that the data to be searched ( Lookup_value ) is not in the first column of the Table_array ...
So, depending on the specific case, you need to fix the #NA error in Vlookup function properly, just remember only one thing: the data to be searched should be absolutely right with the first column of the table containing the lookup value. If absolute searching is used (Range_lookup = 0) .
So you already know how to use the Vlookup function. In the process of using Excel you can also use the Index function to return values in an array or the Max and Min functions for the largest and smallest values.
When you master the syntax, how to use functions in Excel, you will learn Excel effectively, much faster. In addition, there are many other useful functions, Download.com.vn will introduce to you in the following articles.
I wish you successful implementation!
How many kilometers are 120 light years? How many kilometers are 40 light years? Let's find out together about a light year to find the answer!
The timing of your Instagram Reels can make the difference between massive engagement and dead silence. Let’s find out the best times to post on Instagram Reels.
There are many funny captions about dogs on the Internet. This article will gather for you the funniest, most humorous, and most interesting poems about dogs.
You will have the best gaming experience if you use Open NAT or at least Moderate NAT. That is why you need to learn how to change the NAT type.
After several updates, Apple Notes still lacks some features that could make the app even better.
You probably know that password managers are great for storing your online logins. But did you know they have many other great uses?
With the Messenger heart icon, you can choose different colors to use for different situations to express what you want to say to the other person.
Not only can you use Meta AI with individual WhatsApp messages, you can now send Meta AI messages in WhatsApp groups.
The concept of artificial intelligence - AI is becoming more and more popular, which means that this superior technology is gradually being effectively deployed in many fields as well as in all aspects of modern life.
Researchers at Penn Engineering (USA) are said to have discovered previously unidentified security vulnerabilities in a number of AI-controlled robotic platforms.
If you look at your wireless router, you may see the abbreviations LAN and WAN, usually located next to some ports on the device. LAN stands for Local Area Network and WAN stands for Wide Area Network. So what is the difference between these two types of ports? Let's find out with Quantrimang through the following article!
Smartphones are great for editing photos, but you should consider using a computer instead. There's a reason the pros do things differently.
Thanks to FilePizza, you can finally share large files without the need for a middleman.
The 20 longest flights in the world by distance (all longer than 12,000km and with flight times ranging from 15 hours 5 minutes to 18 hours 50 minutes).
The world's first Jet Suit Race was held in Dubai by Gravity Industries, a pioneer in jet suits, in partnership with the Dubai Sports Council.