look up formulae

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

TrustPilot

starstarstarstarstar Excellent

  • Home
  • Courses
  • Promotions
  • Schedule
  • Formats
  • Our Clients

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Look Up formulae

Look Up formulae

resolvedResolved · Medium Priority · Version 2007

Sheila has attended:
Excel Advanced course

Look Up formulae

How do I improve my use of this?

RE: Look Up formulae

If there are two data sets and you want to see if any data from one set exists in another set then use this.

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...

Vlookup-example.xls


 

Excel tip:

Create own ribbon tab - Excel 2010

a. In Excel click on the File tab
b. Select Options from left hand side
c. Choose the Customize Ribbon section
d. Click the New Tab button (below the list of tabs on the right hand side of the dialog box)
e. Select the New Tab (Custom) and enter a name, by clicking the Rename button (below the list of tabs on the right hand side of the dialog box)
f. Select the New Group (Custom) and enter a name, by clicking the Rename button (below the list of tabs on the right hand side of the dialog box)
g. Add commands to your tab and group by locating them on the list on the right hand side (remembering that you can change the list using the drop down box at the top of the list of commands) and clicking the Add button between the two panes to add them to your tab and group
h. You can rearrange the commands in your group, the groups on any tab or the tabs, using the up and down arrow buttons beside the list of tabs.
i. Click OK to apply your changes

View all Excel hints and tips


Server loaded in 0.09 secs.