Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
suki2shoes
 
Posts: n/a
Default function/formula help


Hi

really appreciate if someone could help me

sheet1 has a list of mobile telephone numbers. ( with some details
regarding each number, name, status etc, but none of the details are
filled in)

sheet 2 has all the mobile numbers plus all the details of the people.

what i need to do is, get sheet 1 to look up the mobile number in sheet
2 and take the information (name, status etc) from sheet 2 and put in
sheet.

please help

thanks


--
suki2shoes
------------------------------------------------------------------------
suki2shoes's Profile: http://www.excelforum.com/member.php...o&userid=25024
View this thread: http://www.excelforum.com/showthread...hreadid=399007

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

B1: = VLOOKUP(A1,Sheet2!$A$1:$H$1000,2,False)

C1: = VLOOKUP(A1,Sheet2!$A$1:$H$1000,3,False)

etc.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"suki2shoes" wrote
in message ...

Hi

really appreciate if someone could help me

sheet1 has a list of mobile telephone numbers. ( with some details
regarding each number, name, status etc, but none of the details are
filled in)

sheet 2 has all the mobile numbers plus all the details of the people.

what i need to do is, get sheet 1 to look up the mobile number in sheet
2 and take the information (name, status etc) from sheet 2 and put in
sheet.

please help

thanks


--
suki2shoes
------------------------------------------------------------------------
suki2shoes's Profile:

http://www.excelforum.com/member.php...o&userid=25024
View this thread: http://www.excelforum.com/showthread...hreadid=399007



  #3   Report Post  
nijunge
 
Posts: n/a
Default


Use vlookup

be sure that the list of number with the data is sorted assending

good idea is to name the list

it will look something like =vlookup(a3;list;2)

a3 being the ref list being the list and 2 being the row number in the
list counted from left

works like a sharm as long as the lists are under 5000


--
nijunge
------------------------------------------------------------------------
nijunge's Profile: http://www.excelforum.com/member.php...o&userid=26404
View this thread: http://www.excelforum.com/showthread...hreadid=399007

  #4   Report Post  
suki2shoes
 
Posts: n/a
Default


does that code match up the mobile numbers ?

i'm a real novice in functions, finding it kinda hard.


--
suki2shoes
------------------------------------------------------------------------
suki2shoes's Profile: http://www.excelforum.com/member.php...o&userid=25024
View this thread: http://www.excelforum.com/showthread...hreadid=399007

  #5   Report Post  
Jon Quixley
 
Posts: n/a
Default


Hi Suki2shoes

What you need is a lookup table. The data you have in sheet one really
needs to be arranged in numerical order to start with. To do this
highlight one of the numbers in the column of numbers and select
Data/Sort and select the numbers in ascending order. You should do the
same thing with sheet 2 sorting them according to the phone number. You
now should have two sheets both ordered according to a limited number of
phone numbers on sheet 1 and a full set of numbers on sheet 2.

The layout of the numbers in sheets 1 and 2 have to be identical - by
that I mean that the number 01753688499 and 0 1753688499 (eg) are not
the same and the program won't find a match

The next thing is to set out sheet 1 with the categories you want put
populate your sheet with - something like
ColA: Mobile Number (already set up and in numerical order)
ColB: First Name
ColC: Last Name
ColD: Job Title
etc (obviously these catagories are going to be already in sheet 2)

In sheet 1 colB row2 (Row 1 contains the titles), enter the formula:
=Vlookup(a2,'sheet2'!$a$2:$zz$200,2) You will find this easier if you
point to each step in the formula with the mouse (I assume you are
familiar with constructing formulae). What this is doing is looking at
the number in cell A2 on sheet1 and going off to sheet2 to find the
same number in the first column of the range you have specified - this
is column a since the range is from col A to ZZ. Having found a match
in column A, the formula returns the data in the second column adjacent
to the matching number - this is whrere the number 2 at the end of the
formula comes in.
To return the information in the third column, this number needs to be
changed to 3, for the 4th to 4 etc.

Have a look at the attached (zipped) spreadsheet

Jon


+-------------------------------------------------------------------+
|Filename: suki2shoes.zip |
|Download: http://www.excelforum.com/attachment.php?postid=3743 |
+-------------------------------------------------------------------+

--
Jon Quixley
------------------------------------------------------------------------
Jon Quixley's Profile: http://www.excelforum.com/member.php...o&userid=25803
View this thread: http://www.excelforum.com/showthread...hreadid=399007

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
is there a Function/Formula that will put the name of the workshe. RC Excel Worksheet Functions 2 March 2nd 05 09:35 PM


All times are GMT +1. The time now is 02:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"