Compare two columns to find similar value.

pooja29

New Member
Joined
May 3, 2020
Messages
6
Office Version
  1. 2010
Platform
  1. Windows
Hello All,

I want a formula wherein column B value needs to be compared with C column values and if same values are there in these two columns it should show in D column. Can anyone please help me!
 

Attachments

  • Screenshot_20210520-175220_Gallery.jpg
    Screenshot_20210520-175220_Gallery.jpg
    100.3 KB · Views: 9

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Try
Excel Formula:
=IF(B3="","",,IF(COUNTIF(C:C,B3)>=COUNTIF(B:3:B4,B3),"Match","No Match"))
 
Upvote 0
There were a couple of typos in Jason's formula, try
Excel Formula:
=IF(B3="","",IF(COUNTIF(C:C,B3)>=COUNTIF(B$3:B3,B3),"Match","No Match"))
 
Upvote 0
There were a couple of typos in Jason's formula, try
Excel Formula:
=IF(B3="","",IF(COUNTIF(C:C,B3)>=COUNTIF(B$3:B3,B3),"Match","No Match"))
Is it possible that the figure will show in column D instead of match. Means if Column B and C has same value that same figure should reflect in column D
 
Upvote 0
Is it possible that the figure will show in column D instead of match. Means if Column B and C has same value that same figure should reflect in column D

What Abt? Pooja29

Book1
ABCDE
1Colum AColum CColum E
2List1Output
3500500
4100No Match
515001500
6List2
7500
8147
91500
Sheet1
Cell Formulas
RangeFormula
E3:E5E3=IFERROR(VLOOKUP($A3,C:C,1,0),"No Match")
 
Upvote 0
Is it possible that the figure will show in column D instead of match.
This is basic formula editing, you change what you don't want to what you do want.
Excel Formula:
=IF(B3="","",IF(COUNTIF(C:C,B3)>=COUNTIF(B$3:B3,B3),B3,"No Match"))
What Abt?
Your method doesn't allow for unique matching of duplicate values.
 
Upvote 0
I try to think out of the box with my suggestions.

When people ask for help with things that we would look at as beginner questions, we have to do a bit of additional thinking for them and identify potential problems that they may not be able to.
Book3
BCDE
2List1OutputOutput
3500500500
4100No MatchNo Match
5150015001500
6500List2No Match500
7500 No Match
8147 No Match
91500 No Match
Sheet1
Cell Formulas
RangeFormula
D3:D9D3=IF(B3="","",IF(COUNTIF(C:C,B3)>=COUNTIF(B$3:B3,B3),B3,"No Match"))
E3:E9E3=IFERROR(VLOOKUP($B3,C:C,1,0),"No Match")
 
Upvote 0

Forum statistics

Threads
1,214,830
Messages
6,121,834
Members
449,051
Latest member
excelquestion515

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top