Let's say we run an electronics distribution company called All Tech Ltd. Here's a practical example of when you might use VLOOKUP. The VLOOKUP formula relies on four different arguments to present a filtered result that is, you give it four inputs, and it gives you one output. It works like any other function or formula in Excel, like SUM or AVERAGE. VLOOKUP helps you look up a corresponding value for a cell from within your existing database. Open the worksheet, and click Save to OneDrive to edit and practice with the data. We've created a demo worksheet that you can practice with.
Here, we'll guide you through the process of how to use the VLOOKUP function in Excel Online. So what does VLOOKUP do? Like the name implies, it allows you to quickly look up any value that lives somewhere else in your spreadsheet. The following figure shows the results with VLOOKUP function with the formula mentioned in it:įigure5.VLOOKUP is one of the most powerful features in Excel, but it's also kind of scary at first glance. In place of MATCH function, VLOOKUP function is used here with ISNA function to find the missing values. VLOOKUP returns a #N/A error if a value is not found from the list. Missing values can also be found with the help of VLOOKUP function. Using the MATCH function with ISNA and IF function to find missing values Example 3 The results obtained by this function are the same as shown below:įigure4. = IF ( ISNA ( MATCH (value,range,0)),"MISSING","OK") The generic formula for finding the missing values using the MATCH function is written below:
This check can be passed as the logical test to the IF statement which will update the status of the entry accordingly. MATCH will look for the position of a certain item and will generate a #N/A error if the value is not found. Missing values can also be found with the help of MATCH function. While the entries 12 are not available and are updated as “MISSING”.Īlternative Formulae to Find Missing Values Example 2 Therefore, their status is updated as OK. It can be seen that the entries 12 are present in the array “list” as its 2 nd and 4 th entries respectively. Updated status of missing and available values The results of this formula can be observed in the snapshot below:įigure3. Using the formula in F3 to look for the missing value (in E3) in the list (B3:B8) To find the missing value in the cell E3, enter the following formula in F3 to check its status.įigure2. Sample sheet for finding the missing value A separate search list has been made, which enlists the entries that are needed to be checked in the list.
Example 1Īn example sheet has been considered which has an array named as “list” containing serial numbers (Sr.
In the other case, if COUNTIF statement returns some number IF statement is operated with a logical test to be true. If the count returned by COUNTIF statement is zero then the IF statement returns that value which is passed when a logical test fails.
The COUNTIF statement returns the results which play a role as the first argument of IF statement for the logical test to be performed. If the value is found in the list then the COUNTIF statement returns the numerical value which represents the number of times the value occurs in that list. To find the missing values from a list, define the value to check for and the list to be checked inside a COUNTIF statement. If this count check is true then the IF condition covering it intimates about the presence of that certain entry in the list. To find the missing entries from a list, a conditional COUNT check is made which counts only if the condition passed to it becomes true. = IF ( COUNTIF (list,value),“OK”,“Missing”) Explanation After the logical test, if the entry is found then a string “OK” is returned otherwise “Missing” is returned. Missing values from a list can be checked by using the COUNTIF function passed as a logical test to the IF function. The formula presented in this article will make use of IF and COUNTIF statements. If you want to search for the presence of a certain entry in a list then making a comparison of those entries with that of the list containing the data will be helpful.