Lookup and Replace with a Table

MacGyver_excel

New Member
Joined
Mar 8, 2012
Messages
3
Hi All

I am wondering if anyone can assist me.

I have a situation where I have a table with about 2000 rows. Table A.

I have another table with 100 000 rows. Table B.

There is a column in table B that has a Description. I need to check if any one of those words in the description column match one of my 2000 values in Table A and if it does use that value in a new column in Table B.

Please let me know if you need any further clarification and if you able to assist me. Thank you in advance.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Hi,

why dont you use a vlookup next to table B, or where you want to get the new value if the description exist in table A

for example

table A starts from A1 to B2000

and table B in the next sheet A1 to B 100 000

now where ever you want the data to have the input from the table A just use this formula.

=VLOOKUP(A1,Sheet1!$A$1:$B$2000,2,0)

this is incase if the table is of 2 columns...check the reference
 
Upvote 0
Thanks for the reply Ron99.

I dont think I am able to use a vlookup because I have to search the cell for the Value. It is not an exact match.

For example:
Table A:
"OHIO"

Table B:
"23 Gordon Street OHIO Bloomington"

I need to check my 2000 values in table A to see if it exists in the Description of Table B. If it does exist I would need to place it in a new column in table B.
 
Upvote 0
Try using this....it will identify the word "Ohio" and the corresponding column value will be shown in table B

=IF(ISNUMBER(FIND("OHIO",A1)),B1,"")

or try to send me the sample of your table...with more description
 
Upvote 0
Thanks again. This is the formula that I am currently using. The problem is I have to look through a list of 2000 Towns. "OHIO" being one of those towns.

Can I send you some sample data and you should get a better idea of what I am talking about?

Thanks in advance.
 
Upvote 0

Forum statistics

Threads
1,215,457
Messages
6,124,941
Members
449,198
Latest member
MhammadishaqKhan

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