- Trending Categories
- Data Structure
- Operating System
- MS Excel
- C Programming
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to align duplicates or matching values in two columns in Excel?
Let us assume we have a situation where we have collected names of people from two sources and you want to know the names of the people who have registered from the both sources and we want to make a list of then them so we can use this simple process to list the names of people present in both lists. We can also find the duplicate names present in the both lists.
Let us see a simple process to align duplicate or matching values in two columns in Excel.
Open an Excel sheet where there are two columns of list on names −
Let us create the list of duplicates names in between the columns. To create an empty column between the two lists, select the second list data and then right-click on the list two and select Insert from the menu box.
From the shown pop-up, select "shift cell to right" and click the "OK" button to create the empty column successfully, as shown in the figure below −
Click the empty cell; in our case, it is the address "B2 cell" and enter the formula as −
and click "Enter" to get the first result as shown in the figure below −
We have successfully created the first result; now to get all the other results, drag down from the right corner of the first result till all the results are filled in Excel. Our final output will look as the screenshot below −
This is how we can align the duplicates or matching values in two columns in Excel. The only difficulty in this process is the usage of formula; it is very complex.
Kickstart Your Career
Get certified by completing the courseGet Started