lookup function
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Lookup function

Lookup function

resolvedResolved · Low Priority · Version Standard

replyReply Thu 21 Feb 2008, 13:56Delegate Helen said...

Helen has attended:
Excel Advanced course

Lookup function

How do I use lookup function to find data from another workbook?

For upcoming training course dates see: Pricing & availability

replyReply Sat 23 Feb 2008, 21:58Trainer Cress said...

RE: Lookup function

If you have two sets of data, highlight the second set and in the top left corner of the screen is the name box, in this box type 'Range1' and press the Enter key. Create a new column in your first set of data. In the first cell use the following formula:

=VLOOKUP(B1,Range1,1,FALSE)

This is essentially saying "take the value in B1 (B is the ID column of your first data set), and see if it occurs anywhere in Range1 (Range1 is the ID column of your second data set). If it does appear then it will return the ID (column 1, hence the 1 in the formula) and if it doesn't appear then it will return '#N/A'. The value of 1 will make it return the ID value. You can return any column in the range. For example, if you have column1 as the ID and column2 as the full name then you can change the formula as follows to return the second colum and therefore show the name:

=VLOOKUP(B1,Range1,2,FALSE)

Please see attached example

Attached files...

Example.xls

 

Please browse our web site to find out more about
microsoft+excel+training+course and other Microsoft training courses.

Excel tip:

Find cells that match a format

In Excel you may wish to find cells that contain a specific formatting such s colour.

Select Edit > Find, click on Options and then Format...choose the formatting that you want found and click on OK

Choose one of the Find buttons to find.

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard