Match text if in column

dewotorf

New Member
Joined
Feb 25, 2021
Messages
19
Office Version
  1. 365
Platform
  1. Windows
Book2.xlsx
I
9
Sheet1
[/RANGE In column C, I want to match all IDs that are in column A and B. Basically, I want a formula that will look in the range B2:B13 and if there is an ID that matches any in Column A, then column C should display this ID to match the one in the corresponding cell in column A. For example; cell C20 should show de0001102341 because it exists in A20 and B8. Please help.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
In future when using XL2BB you need to select the range of cells your interested in, not a single blank cell.

How about
+Fluff 1.xlsm
ABC
1GridRef
2NY777439NY777439NY777439
3SK055741SK059739 
4SK073782SD953077 
5SE091296SK056479 
6SK084589SS924388 
7SK059739NY414249SK059739
8SK155760SE065262 
9SD953077SD814261SD953077
10SE123307SK225609 
11SK056479SE130302SK056479
12SS924388SE032427SS924388
13NY414249SD872217NY414249
14SO630791SE116095 
15NY905381 
16SE065262SE065262
17NY844556 
18SD814261SD814261
19SD961055 
20SK225609SK225609
21SE130302SE130302
22NZ111509 
23SE032427SE032427
24SE098180 
25SD872217SD872217
26SE116095SE116095
27NZ018208 
28SX709732 
29NZ104510 
30SE098920 
Master
Cell Formulas
RangeFormula
C2:C30C2=IF(COUNTIFS($B$2:$B$14,A2),A2,"")
 
Upvote 0

Forum statistics

Threads
1,215,220
Messages
6,123,697
Members
449,117
Latest member
Aaagu

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