#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 516
Default VLOOUP

Does anyone know if it is possible to do a vlook where the column_index is a
negative or works from the right a goes to the left. My data base has the
lookup value to the right of the target data.

=VLOOKUP(A2,SHEET2!H:J,-3,FALSE) = Error

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default VLOOUP

The Index and Match combination can work that way.

=INDEX(Sheet2!H:H,MATCH(A2,Sheet2!J:J,0))

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"Matt" wrote in message
...
Does anyone know if it is possible to do a vlook where the column_index is a
negative or works from the right a goes to the left. My data base has the
lookup value to the right of the target data.

=VLOOKUP(A2,SHEET2!H:J,-3,FALSE) = Error

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default VLOOUP

You can't use Vlookup to return data to the left of the lookup column. You
need to use a combination of Index and Match to accomplish this, as in:

=index(Sheet2!A:J,match(a2,sheet2!H:H,false),4)

Regards,
Fred

"Matt" wrote in message
...
Does anyone know if it is possible to do a vlook where the column_index is
a
negative or works from the right a goes to the left. My data base has the
lookup value to the right of the target data.

=VLOOKUP(A2,SHEET2!H:J,-3,FALSE) = Error

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
vlooup with an if statement????? samiauthor Excel Worksheet Functions 2 August 14th 07 03:43 PM
vlooup formula and if(),isna etc Claudia Excel Worksheet Functions 3 May 29th 07 01:17 PM
Linking cells (VLOOUP/IF function maybe?) GregA Setting up and Configuration of Excel 2 August 20th 06 01:15 AM


All times are GMT +1. The time now is 01:10 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"