Thread: Naming a cell
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default Naming a cell

Use VLOOKUP - if your reference data is on sheet2 with phone numbers
in column A and names in column B, and your other list of phone
numbers is on Sheet1 starting in A2, then put this in B2:

=VLOOKUP(A2,Sheet2A:B,2,0)

and copy down. You must ensure that the phone numbers have the same
format in both sheets, i.e. if you have leading zeros in one sheet
then you must have the same in the other sheet.

This looks for exact matches, but if the number does not appear in the
second sheet the formula will return #N/A.

Hope this helps.

Pete

On Oct 7, 3:01*pm, Steve wrote:
I have a list of telephone numbers and what I'm trying to do is to add the
company name against them in another cell?!
So i have the number, and company name in another workbook for example, and
i am trying to get it so that it shows the name and number in one
spreadsheet?!
Or basically i type in the numner and it automatically searches and fiinds a
company name tpo referance against it?!
Thanks
Steve