Skip to main content

How to check or find if value exists in another column?

doc check if in another list 1

Supposing, I have two columns of data which contains some duplicate values in these both columns as left screenshot shown. And now, I want to find if the values in Column A also exists in Column C. To compare them one by one is not a good method, here, I can talk about some handy tricks for solving this problem in Excel.

Method 1: Check if value exists in another column with formula

Method 2: Check if value exists in another column and highlight them with Conditional Formatting

Method 3: Check if value exists in another column and shade them at once with Kutools for Excel


Check if value exists in another column with formula

To check if the values are in another column in Excel, you can apply the following formula to deal with this job.

1. First, you can copy the two columns of data and paste them into column A and Column C separately in a new worksheet, leave Column B blank to put the following formula.

2. Enter this formula: =IF(ISERROR(VLOOKUP(A4,$C$4:$C$14, 1, FALSE)),"Not Exist","Exist" ) into cell B2, and press Enter key, see screenshot:

doc check if in another list 2

Note: in the above formula, A4 is the cell of the first column that you want to check if it is in another column, and $C$4:$C$14 is the column that you want to be compared with.

3. Then select cell B4, and drag the fill handle over to the cells that you need to apply this formula, you will get the following result, Exist stands for the value in List A exists in List B as well, and Not Exist indicates the value is not in List B.

doc check if in another list 3


Find or Highlight if value exists in another column:

Kutools for Excel's Select Same & Different Cells feature can help you to select and highlight the same and different cell values between two columns as you need.      Click to download Kutools for Excel!

doc check if in another list 11

Check if value exists in another column and highlight them with Conditional Formatting

In Excel, you can also highlight the duplicate values in one column when they found in another column by using the Conditional Formatting. Please do as this:

1. Select the cells in List A that you want to highlight the cells where the values exit in List B as well.

2. Then click Home > Conditional Formatting > New Rule, in the New Formatting Rule dialog box, please click Use a formula to determine which cells to format from the Select a Rule Type section, and then enter this formula =MATCH(A4,$C$4:$C$14,0) into the Format values where this formula is true text box, see screenshot:

doc check if in another list 4

3. Then click Format button to go to the Format Cells dialog box, and choose one color you like under the Fill tab, see screenshot:

doc check if in another list 5

4. Then click OK > OK to close the dialogs, and now, you can see the values both in List A and in List B are highlighted from List A, see screenshot:

doc check if in another list 6


Check if value exists in another column and shade them at once with Kutools for Excel

With Kutools for Excel’s Select Same & Different Cells feature, we can quickly select or shade the duplicates or differences in the two columns. This will be help for you to find the duplicate or unique values at a glance.

Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 30 days.

After installing Kutools for Excel, please do as follows:

1. Click Kutools > Select > Select Same & Different Cells, see screenshot:

doc check if in another list 7

2. In the Select Same & Different Cells dialog box, please do the following operations:

A: Click  button from the Find values in: (Range A) section to select the column of data that you want to compare with another column. And click  button under According to: (Range B) section to select the cells that you want to be compared with.

B: Select Each row under the Based on section.

C: Specify Same Values from the Find section.

D: You can fill background color or font color for the same values you need under the Processing of results section, please choose the color you like.

doc check if in another list 8

3. After finishing the settings, then click Ok button, all the values in both Column A and Column C are shaded in the Column A as following screenshot shown:

doc check if in another list 9

Note: If you want to fill the same values in Column C, you just need to exchange the Find values in column data and According to column in the dialog box, and you will get the following results:

doc check if in another list 10

Download and free trial Kutools for Excel Now !


Check if value exists in another column and shade them at once with Kutools for Excel

Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days. Download and free trial Now!

Best Office Productivity Tools

Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

kte tab 201905


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (9)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
If this formula dosn't work for you            =IF(ISERROR(VLOOKUP(A4,$C$4:$C$14, 1, FALSE)),"Not Exist","Exist" )
Try using this one :

=IF(ISERROR(VLOOKUP(A4;$C$4:$C$1840; 1; FALSE));"Not Exist";"Exist" )





This comment was minimized by the moderator on the site
This was really helpful for me. Thanks!
This comment was minimized by the moderator on the site
what if you want to know "where" the data is in the other list, not just that the data exists in the other list?
This comment was minimized by the moderator on the site
Bloody Brilliant work, thanks a lot.
This comment was minimized by the moderator on the site
Thank you for saving my time
This comment was minimized by the moderator on the site
This Guide is really AWESOME - a little too much GIF sparkles (using old firefox)
This comment was minimized by the moderator on the site
Thanks. It helped me in a great way.
This comment was minimized by the moderator on the site
That's new! Awesome!
This comment was minimized by the moderator on the site
Nice! This saved me some time. Can you compare col a and col c and write matches to col d?
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations