does a cell contain (in any part of it) values from a list - THEN - paste the value in next column.

jhbloemarts

New Member
Joined
Nov 28, 2012
Messages
7
I'm looking for a formula to:

Column A
- contains list of names. Column a has 1000+ values
A1 : jjjj john jjj
A2 : JOHN djfkdjf
A3 : kdfjkdjf John
A4 : sdslkdl dave
A5 : ddsjkdave
A6 : terry
A7 : kjdkfjd Terry 030

Column C - contains lookup values (column c contains 50 values)
C1 : john
C2 : steve
C3 : dave
C4 : terry

In column E - i want to look in column A and confirm a match to column C.
Answers in column E would be:
E1 : john
E2 : john
E3 : john
E4 : dave
E5 : dave
E6 : terry
E7 : terry


It's basically a VLOOKUP but then not an exact match.
I should not do a best guess because EXCEL really sucks at this.
Maybe the wildcard/mid function.
I found 1 other person looking for the exact same but no trail yet entered with answer.
I've been at it for about 5 nights in a row on multiple multiple forum. It's killing me

Good luck.

Joost Removed E-Mail Address - Moderator
 
Thanks.
WORKS PERFECTLY.

(PS: to further readers. The red text in the marco "Option compare text" is part of the CODE !!!!!)
 
Upvote 0

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,223,911
Messages
6,175,323
Members
452,635
Latest member
laura12345

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