LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Some rules about Vlookup REPOSTED

Most posts are about something that doesnt work ,This is about
something that works but shouldn't work
I have read in many places the vlookup only works with first column
data -but I have tried it with other columns and it seems to work -

What are the real rules for Vlookup ?

This is the Look up array

001 John
002 Fred
003 Albert

Tables to lookup
Example 1

Person Year City Vlookup Result
001 2009 London John
002 2000 Paris Fred
003 2001 Tokyo Albert
001 2003 Madrid John

= VLOOKUP(A2,Array,2,FALSE) works

Example 2

Year Person City Vlookup Result
2009 001 London John
2000 002 Paris Fred
2001 003 Tokyo Albert
2003 001 Madrid John

= VLOOKUP(B2,Array,2,FALSE) works


Example 3

Year City Person Vlookup Result
2009 London 001 John
2000 Paris 002 Fred
2001 Tokyo 003 Albert
2003 Madrid 001 John

= VLOOKUP(C2,Array,2,FALSE) works

Unless I am totally confused I thought it will only work for example
no 1
ie data in A column



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Some rules about Vlookup JohnC[_2_] Excel Discussion (Misc queries) 2 January 26th 10 01:50 AM
Question Reposted TimJames Excel Worksheet Functions 0 July 18th 07 01:20 PM
how do I set up a validation rules with two data rules Trudy Excel Worksheet Functions 1 October 16th 06 05:42 AM
Using Function (reposted) Jeff Excel Discussion (Misc queries) 1 June 15th 06 06:37 PM
Date format (reposted) Brian Excel Discussion (Misc queries) 2 May 9th 06 02:26 AM


All times are GMT +1. The time now is 04:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"