Excel - VLOOKUP to filter rows based on numbers


I have list of Incident numbers (both Closed and open) in Column A and only open incident numbers in column B. I should be able to filter the rows based on the numbers in column B so I can mass close the rest of the incidents.


In column C you can have a VLOOKUP or MATCH

Lets say data in Column A starts from Row 2
and data in column B starts from Row 2
then in C2 you can write


"Close Incident", "Open Incident")

Idea is if number in A2, is not found in column B, then it is a closed incident. If the number is found then it is open incident.

You can drag this formula down and apply filter to see what needs to be done


Thanks to rizvisa1 for this tip on the forum.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « Excel - VLOOKUP to filter rows based on numbers », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).