Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
TARZAN
 
Posts: n/a
Default What wrong with VLOOKUP formula

I have the following formula:

=VLOOKUP($B2,'Sheet 2'!C$1:C$771,5,'Sheet 2'!E$2:E$771)

for this case:

Sheet 1 Sheet 2

A B C D A B C D
E F G H I
XXX ? ? ? XXX 2 1 3

What's wrong?
I got VALUE!


--
Thanks
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

VLOOKUP takes the form

=VLOOKUP(value_to_lookup,range_to_lookup,column_in dex,exact_approximate)

See help, you seem to be using incorrectly

--

HTH

RP
(remove nothere from the email address if mailing direct)


"TARZAN" wrote in message
...
I have the following formula:

=VLOOKUP($B2,'Sheet 2'!C$1:C$771,5,'Sheet 2'!E$2:E$771)

for this case:

Sheet 1 Sheet

2

A B C D A B C

D
E F G H I
XXX ? ? ? XXX 2 1 3

What's wrong?
I got VALUE!


--
Thanks



  #3   Report Post  
Ken Wright
 
Posts: n/a
Default

Is this what you wanted?

=VLOOKUP($B2,'Sheet 2'!C$1:E$771,3,0)

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------

"TARZAN" wrote in message
...
I have the following formula:

=VLOOKUP($B2,'Sheet 2'!C$1:C$771,5,'Sheet 2'!E$2:E$771)

for this case:

Sheet 1 Sheet

2

A B C D A B C

D
E F G H I
XXX ? ? ? XXX 2 1 3

What's wrong?
I got VALUE!


--
Thanks



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
Formula "=num.de.semana(Date,2or1)" is WRONG for 2005 MrExcel77 Excel Worksheet Functions 1 January 5th 05 07:13 PM
Formula Result Correct but value in the cell is wrong jac Excel Worksheet Functions 2 December 17th 04 08:05 PM
How do I use Range Names listed in a VLookup table in a formula? Essbasedvlpr32 Excel Worksheet Functions 3 December 15th 04 10:11 PM
Paste is is copying in formula, but display is wrong. Matt Excel Discussion (Misc queries) 2 December 7th 04 08:37 PM
Paste is is copying in formula, but display is wrong. Matt Excel Worksheet Functions 2 December 7th 04 08:37 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"