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

vlook up

ResolvedVersion 2007

Theresa has attended:
Excel Advanced course

VLook up

I am trying to work with a formular set up by a colleague no longer with the company and need to use it in my work.

Formular does relate to other columns but can you kinldy interpret it for me so I can understand better where the values are coming from.

IF(VLOOKUP(H15,$E$2:$G$10,2,0)=0,VLOOKUP(H15,$E$2:$G$10,3,0),VLOOKUP(H15,$E$2:$G$10,2,0)).

Many thanks,
Theresa

RE: VLook up

Hi [...], thanks for your query. Might be best to separate out the individual arguments forming the IF statement:

IF(VLOOKUP(H15,$E$2:$G$10,2,0)=0,

...this is the initial test. It's taking the value from H15 and checking whether that value in column index number 2 of the table array $E$2:$G$10 is set to zero.....

VLOOKUP(H15,$E$2:$G$10,3,0),

...if it is 0, it returns the value from column index number 3

VLOOKUP(H15,$E$2:$G$10,2,0)).

...if H15 doesn't have 0 in it, it brings back the value from column index number 2.

Hope this helps,

Anthony

Fri 23 Apr 2010: Automatically marked as resolved.

Excel tip:

Creating custom lists

In Excel if you type in January in a cell, you can then copy this cell to replicate Febraury, MArch, April etc.

This list has come from Tools- options and Custom lists.

Therefore to save time and create your own list you can click on New (in Tools and custom list tab) and type out the lsit that you want copied quickly.

All you have to do is then type in the 1st word and you will be able to copy the rest of the list quickly.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.11 secs.