Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2006

Tip: Looking for answers? Try searching our database.

Using VLOOKUP to display required information

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
KD Tech - 15 Sep 2006 00:51 GMT
Hey all,

I'm trying to create a spreadsheet that references an existing Excel file that contains data in the following format:

Supervisor    Name    Email    Phone #
Bob           Joe     a@b.com  555-555-1234
Bob           Joy     b@c.com  555-555-2345
Bob           John    c@d.com  555-555-3456
Colin         Ricky   d@e.com  555-555-4567
Colin         Roy     e@f.com 555-555-5678
Jerry         Alex    f@g.com  555-555-6789

Basically, what I want to do with this information is pull only, say, Colin's employees names and phone #'s, and not display anyone elses. So basically, I'd want it to look like this:

Colin's Employees
Name        Phone            Email
Ricky       555-555-4567     d@e.com
Roy         555-555-5678     e@f.com

I'm almost certain that the VLOOKUP command is what I want to use, but I'm unsure how to apply it to work in my case. I've tried a few different techniques such as...

=VLOOKUP("Colin",'[Existing Sheet.xls]Book1'!$A$2:$D$100,2,FALSE)

However this will display something like:

Colin's Employees
Name
Ricky
Ricky
Ricky
Ricky
Ricky

But will not show the other employees under Colin (In this case, Roy)..

If anyone has any idea, please save me from certain failure!

Thanks.

-Will
Pete_UK - 15 Sep 2006 01:55 GMT
A simple way is just to apply autofilter to your Supervisor column -
select Colin and you will just see the two employees' details.

Hope this helps.

Pete

> Hey all,
>
[quoted text clipped - 121 lines]
>
> ------=_NextPart_000_000C_01C6D81E.1375E5F0--
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.