vlook up
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 » VLook up

VLook up

resolvedResolved · Medium Priority · Version 2007

replyReply Fri 16 Apr 2010, 13:53Delegate Theresa said...

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

For upcoming training course dates see: Pricing & availability

replyReply Fri 16 Apr 2010, 14:26Trainer Anthony said...

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.

 

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

Excel tip:

Counting Non Number Cells (Text)

If you try to use the COUNT FUNCTION =COUNT(Cell range)with a range of cells with numbers and or containing text fields you wil find that that the text cells will be excluded from the the count. If you want to include them try the the COUNTA FUNCTION =COUNTA(Cell range). This counts both text and number cell values.

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