
- COMPARE TWO COLUMNS IN EXCEL AND FIND MISSING SERIAL NUMBERS
- COMPARE TWO COLUMNS IN EXCEL AND FIND MISSING UPDATE
Enter the formula in cell D3: =VLOOKUP(B3,$C$3:$C$9,1,FALSE) In order to determine if a value in the first column (List 1) exists in another column (List 2) and return the value itself, we follow these steps:

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:
COMPARE TWO COLUMNS IN EXCEL AND FIND MISSING UPDATE
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.
COMPARE TWO COLUMNS IN EXCEL AND FIND MISSING SERIAL NUMBERS
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.
