Lookup?

MarkAndrews

Well-known Member
Joined
May 2, 2006
Messages
1,970
Office Version
  1. 2010
Platform
  1. Windows
Fropm this list - I need to confirm if the numbers in column D appear in column A, result in E
HAMMONDS - FA.xls
ABCDE
1144482MrDavidMeadReference
2159956MrReubenStevens144482
3170908MrRobertMullett174653
4173722MrsIreneNicholson219833
5174653MrsLisaPark245826
6175150MissLeanneWheater288328
7181242MrCraigNewman311779
8187837MrsCatherinePayne313089
9188463MrStephenHunt331670
Sheet1


Whats the best way? Vlookup?

TIA
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
you quickly fix problems where numbers are text by typing 1 in a blank cell, then copy the one. Highlight the data that is text and paste special, multiple, click ok.
 
Upvote 0
Make sure that the reference numbers are formatted the same...meaning, one set might be text while the other a true number.

Copy a blank cell, select one set of reference numbers, and then Pastespecial/values/add. Do the same for the other set.
I already suggested this...and there is no need to type a 1. Copying a blank cell and "adding" it will produce the same result.

Edit: Don't forget to make sure that the formatting of the columns are General. Or, if you want the reference numbers to be text (which they probably should be) then for each set in a blank column use the formula:

=A1&"" (specify the column of your reference numbers)

Then paste the values back into the appropriate columns.

If you do this then make sure to set the formatting of your columns to TEXT.
 
Upvote 0
I already suggested this...and there is no need to type a 1. Copying a blank cell and "adding" it will produce the same result.

ahh.... so we have a case of not trying all suggestions :wink:
 
Upvote 0
Yep, and quite early in the thread too!

VLOOKUP (or even just LOOKUP) really is the way to go with this. VLOOKUP will use less memory because once it finds a match it will stop. COUNTIF on the other hand will search all the way to the end of the range.

Plus, COUNTIF will see "0123" and "123" as the same thing when in fact they are quite different.
 
Upvote 0
Sorry Guys, I've been busy doing what i needed with the results

All sorted & thanks for all help

I can always get the help i need from this board & its well appreciated
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,520
Members
449,088
Latest member
RandomExceller01

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