VLOOKUP - Multiple numbers in single cell

Ados

New Member
Joined
May 28, 2008
Messages
12
Hi. I'm new to the forum and somewhat of a novice.

I have two spreadsheets: Sheet1) has number(s) in column A and a name of a person associated with it in Column B.
Sheet2) has a list of numbers (Column A)that I want to cross reference with the names in Sheet1.

I want to run a vlookup in Sheet2 B2 to find the Exact (FALSE) match on Sheet1 and return the name associated with it.

The problem I'm running into is that for the cells in Sheet1 Col A that have multiple numbers (separated (Alt+Enter) ) I keep returning an #N/A. I can find these numbers using the FIND function.

The cells that only have one number come back fine.

Appreciate it if someone knows anything about this. Thanks
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Code:
=LOOKUP(9.99999999999999E+307,
   SEARCH(A2,Sheet1!$A$1:$A$4),Sheet1!$B$1:$B$4)

Hi. I'm new to the forum and somewhat of a novice.

I have two spreadsheets: Sheet1) has number(s) in column A and a name of a person associated with it in Column B.
Sheet2) has a list of numbers (Column A)that I want to cross reference with the names in Sheet1.

I want to run a vlookup in Sheet2 B2 to find the Exact (FALSE) match on Sheet1 and return the name associated with it.

The problem I'm running into is that for the cells in Sheet1 Col A that have multiple numbers (separated (Alt+Enter) ) I keep returning an #N/A. I can find these numbers using the FIND function.

The cells that only have one number come back fine.

Appreciate it if someone knows anything about this. Thanks
 
Upvote 0

Forum statistics

Threads
1,224,814
Messages
6,181,126
Members
453,021
Latest member
Justyna P

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