#1   Report Post  
Posted to microsoft.public.excel.misc
grahammal
 
Posts: n/a
Default Vlookup


=VLOOKUP(B21,{"Canon",2;"Compaq",3;"Dell",4;"Eizo" ,5;"Fujitsu",6;"HP",7;
"IBM",8;"Lexmark",9;"Sony",10;"Toshiba",11;"Other" ,12},2,1)

The above VLOOKUP table works fine up to "Toshiba",11;
When it uses "Other",12; as the criteria it returns the value as a 9
instead of a 12??
Anybody any ideas?


--
grahammal
------------------------------------------------------------------------
grahammal's Profile: http://www.excelforum.com/member.php...o&userid=20336
View this thread: http://www.excelforum.com/showthread...hreadid=530932

  #2   Report Post  
Posted to microsoft.public.excel.misc
Barb Reinhardt
 
Posts: n/a
Default Vlookup

Change the "1)" at the very end to "FALSE)"

"grahammal" wrote:


=VLOOKUP(B21,{"Canon",2;"Compaq",3;"Dell",4;"Eizo" ,5;"Fujitsu",6;"HP",7;
"IBM",8;"Lexmark",9;"Sony",10;"Toshiba",11;"Other" ,12},2,1)

The above VLOOKUP table works fine up to "Toshiba",11;
When it uses "Other",12; as the criteria it returns the value as a 9
instead of a 12??
Anybody any ideas?


--
grahammal
------------------------------------------------------------------------
grahammal's Profile: http://www.excelforum.com/member.php...o&userid=20336
View this thread: http://www.excelforum.com/showthread...hreadid=530932


  #3   Report Post  
Posted to microsoft.public.excel.misc
grahammal
 
Posts: n/a
Default Vlookup


Thanx for the remedy mate that works fine.


--
grahammal
------------------------------------------------------------------------
grahammal's Profile: http://www.excelforum.com/member.php...o&userid=20336
View this thread: http://www.excelforum.com/showthread...hreadid=530932

  #4   Report Post  
Posted to microsoft.public.excel.misc
ANDYGM
 
Posts: n/a
Default Vlookup


Reason for problem is that 'Other' is not in alphabetical order, I you
moved it to before 'Sony' in the list, it should work properly without
the FALSE.


--
ANDYGM
------------------------------------------------------------------------
ANDYGM's Profile: http://www.excelforum.com/member.php...fo&userid=3452
View this thread: http://www.excelforum.com/showthread...hreadid=530932

Reply
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
VLOOKUP Problem Ian Excel Discussion (Misc queries) 3 April 6th 06 06:47 PM
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM


All times are GMT +1. The time now is 09:12 PM.

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

About Us

"It's about Microsoft Excel"