Creating a vlookup v1.0 050813

Post on 15-Jan-2015

1.413 views 3 download

Tags:

description

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

Transcript of Creating a vlookup v1.0 050813

CREATING A VLOOKUP(in MS Excel 2010)

Dave Shannon - 05/08/13

CONTENTS

What does a VLOOKUP do?

The components of a VLOOKUP

An example

Summary

D S

HA

NN

ON

05

/08

/13

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

VLOOKUP COMPONENTSD

SH

AN

NO

N 0

5/0

8/1

3

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

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

VLOOKUP COMPONENTSD

SH

AN

NO

N 0

5/0

8/1

3

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

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]

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

VLOOKUP EXAMPLED

SH

AN

NO

N 0

5/0

8/1

3

Begin typing the formula in the result field

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

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

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

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

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

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

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

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

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

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’

VLOOKUP EXAMPLED

SH

AN

NO

N 0

5/0

8/1

3

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

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

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

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

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

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]

THANK YOU FOR YOUR TIME

QUESTIONS?

D S

HA

NN

ON

05

/08

/13