26
CREATING A VLOOKUP (in MS Excel 2010) Dave Shannon - 05/08/13

Creating a vlookup v1.0 050813

Embed Size (px)

DESCRIPTION

Step by Step guide to creating a VLOOKUP cell, created for a recent job interview.

Citation preview

Page 1: Creating a vlookup v1.0 050813

CREATING A VLOOKUP(in MS Excel 2010)

Dave Shannon - 05/08/13

Page 2: Creating a vlookup v1.0 050813

CONTENTS

What does a VLOOKUP do?

The components of a VLOOKUP

An example

Summary

D S

HA

NN

ON

05

/08

/13

Page 3: Creating a vlookup v1.0 050813

WHAT DOES A VLOOKUP DO?

A VLOOKUP takes data from you, looks up another piece of data, and returns it to you

It is usually used to search a large amount of data and return results in a simple visual format

Some examples:

Enter an employee name, receive HR details, sales figures Enter a site name and receive address details Enter a part number, receive stock level and price

D S

HA

NN

ON

05

/08

/13

Page 4: Creating a vlookup v1.0 050813

VLOOKUP COMPONENTSD

SH

AN

NO

N 0

5/0

8/1

3

=VLOOKUP(lookup_value, table_array, col_index_num,[range_lookup])

Page 5: Creating a vlookup v1.0 050813

VLOOKUP COMPONENTSD

SH

AN

NO

N 0

5/0

8/1

3

=VLOOKUP(lookup_value, table_array, col_index_num,[range_lookup])

tells Excel that a formula is coming up=

VLOOKUP tells Excel which formula to expect

Page 6: Creating a vlookup v1.0 050813

VLOOKUP COMPONENTSD

SH

AN

NO

N 0

5/0

8/1

3

=VLOOKUP(lookup_value, table_array, col_index_num,[range_lookup])

Page 7: Creating a vlookup v1.0 050813

VLOOKUP COMPONENTSD

SH

AN

NO

N 0

5/0

8/1

3

=VLOOKUP(lookup_value, table_array, col_index_num,[range_lookup])

The data you need to enter – It’s best to put a cell number in here so you can look up different items/names easily

The cells where you want VLOOKUP to search. These can be in a different sheet or workbook, but both need to be open

A count across to the column that contains the data you want bringing back

Whether you want just that precise number or want anything close. Usually you will want a precise number

lookup_value

table_array

col_index_num

[range_lookup]

Page 8: Creating a vlookup v1.0 050813

VLOOKUP EXAMPLED

SH

AN

NO

N 0

5/0

8/1

3

Using a simple database Two VLOOKUP’s will take part number, return Stock level and Price Cell created for entering Item Code

Page 9: Creating a vlookup v1.0 050813

VLOOKUP EXAMPLED

SH

AN

NO

N 0

5/0

8/1

3

Begin typing the formula in the result field

Page 10: Creating a vlookup v1.0 050813

VLOOKUP EXAMPLED

SH

AN

NO

N 0

5/0

8/1

3

Begin typing the formula in the result field Lookup_value appears bolded to assist you

Page 11: Creating a vlookup v1.0 050813

VLOOKUP EXAMPLED

SH

AN

NO

N 0

5/0

8/1

3

Begin typing the formula in the result field Lookup_value appears bolded to assist you Type “B3”, the cell where you want to enter the part number you want to

look up

Page 12: Creating a vlookup v1.0 050813

VLOOKUP EXAMPLED

SH

AN

NO

N 0

5/0

8/1

3

Begin typing the formula in the result field Lookup_value appears bolded to assist you Type “B3”, the cell where you want to enter the part number you want to

look up Type a comma and the bolded selection changes to table_array

Page 13: Creating a vlookup v1.0 050813

VLOOKUP EXAMPLED

SH

AN

NO

N 0

5/0

8/1

3

Click the first cell of the table – the cell number appears as part of the formula

Page 14: Creating a vlookup v1.0 050813

VLOOKUP EXAMPLED

SH

AN

NO

N 0

5/0

8/1

3

Click the first cell of the table – the cell number appears as part of the formula

And drag to select the whole database

Page 15: Creating a vlookup v1.0 050813

VLOOKUP EXAMPLED

SH

AN

NO

N 0

5/0

8/1

3

Click the first cell of the table – the cell number appears as part of the formula And drag to select the whole database Type a comma to move to the next section: col_index_num

This is where we count columns across to the result we want bringing back

Page 16: Creating a vlookup v1.0 050813

VLOOKUP EXAMPLED

SH

AN

NO

N 0

5/0

8/1

3

Type 4 for the col_index_num field, and a comma [range_lookup] appears bolded, and a drop down appears

Page 17: Creating a vlookup v1.0 050813

VLOOKUP EXAMPLED

SH

AN

NO

N 0

5/0

8/1

3

Type 4 for the col_index_num field, and a comma [range_lookup] appears bolded, and a drop down appears Select “FALSE” so that an exact match will be returned

Page 18: Creating a vlookup v1.0 050813

VLOOKUP EXAMPLED

SH

AN

NO

N 0

5/0

8/1

3

Type 4 for the col_index_num field, and a comma [range_lookup] appears bolded, and a drop down appears Select “FALSE” so that an exact match will be returned Close the brackets

Page 19: Creating a vlookup v1.0 050813

VLOOKUP EXAMPLED

SH

AN

NO

N 0

5/0

8/1

3

Type 4 for the col_index_num field, and a comma [range_lookup] appears bolded, and a drop down appears Select “FALSE” so that an exact match will be returned Close the brackets and press ‘Enter’

Page 20: Creating a vlookup v1.0 050813

VLOOKUP EXAMPLED

SH

AN

NO

N 0

5/0

8/1

3

Enter an Item Code and Press ‘Enter’, stock level appears

Page 21: Creating a vlookup v1.0 050813

VLOOKUP EXAMPLED

SH

AN

NO

N 0

5/0

8/1

3

Enter an Item Code and Press ‘Enter’, stock level appears Price returned by adjusting col_index_num entry

Page 22: Creating a vlookup v1.0 050813

VLOOKUP EXAMPLED

SH

AN

NO

N 0

5/0

8/1

3

Enter an Item Code and Press ‘Enter’, stock level appears Price returned by adjusting col_index_num

Page 23: Creating a vlookup v1.0 050813

VLOOKUP EXAMPLED

SH

AN

NO

N 0

5/0

8/1

3

Enter an Item Code and Press ‘Enter’, stock level appears Price returned by adjusting col_index_num Works for all Item Codes

Page 24: Creating a vlookup v1.0 050813

VLOOKUP EXAMPLED

SH

AN

NO

N 0

5/0

8/1

3

Enter an Item Code and Press ‘Enter’, stock level appears Price returned by adjusting col_index_num Works for all Item Codes

Page 25: Creating a vlookup v1.0 050813

VLOOKUP- SUMMARY

Four elements:

A cell to type your data in

A selection to search in

The number of columns over

Exact or near match

*Electronic versions of this presentation are available on request

D S

HA

NN

ON

05

/08

/13

lookup_value

table_array

col_index_num

[range_lookup]

Page 26: Creating a vlookup v1.0 050813

THANK YOU FOR YOUR TIME

QUESTIONS?

D S

HA

NN

ON

05

/08

/13