#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Vlookup to the left?

=Vlookup(a1,Range,6,FALSE)

Vlookup will count 6 column to the right and grab the value. Can I use
Vlookup to count to the left something like -6?

Thanks,
mac

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 913
Default Vlookup to the left?

On Sat, 26 Jul 2008 17:08:39 -0400, "Mac" wrote:

=Vlookup(a1,Range,6,FALSE)

Vlookup will count 6 column to the right and grab the value. Can I use
Vlookup to count to the left something like -6?

Thanks,
mac



You can not use a negative value for the col_index_num parameter in
VLOOKUP.

Try this formula instead:

=LOOKUP(A1,myrange,OFFSET(myrange,0,-6))

Hope this helps / Lars-Åke

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Vlookup to the left?

Have you actually tried this -
I just tried and get a #N/A ...so I'm not sure if I'm doing something wrong
or if vlookup only looks right.

"Lars-Ã…ke Aspelin" wrote:

On Sat, 26 Jul 2008 17:08:39 -0400, "Mac" wrote:

=Vlookup(a1,Range,6,FALSE)

Vlookup will count 6 column to the right and grab the value. Can I use
Vlookup to count to the left something like -6?

Thanks,
mac



You can not use a negative value for the col_index_num parameter in
VLOOKUP.

Try this formula instead:

=LOOKUP(A1,myrange,OFFSET(myrange,0,-6))

Hope this helps / Lars-Ã…ke


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 83
Default Vlookup to the left?

VLOOKUP only goes to the right. But you can easily go left by using a
combination of MATCH and INDEX.
Data:
Lookup Table Lookup formula
Amount Name FindName FindAmount
500 Joe Steve
85 Steve Cindy
200 Darla
300 Cindy
You need to lookup up the names in the FindName column in the Lookup Table's
Name column and return to the FindAmount column the Amount in the Lookup
Table.
Put this formula into the FindAmount cells next to Steve and Cindy:
=INDEX(Amount,MATCH(C3,Name,0))
Amount and Name are named ranges for the cells with data in columns A and B.
FindName is column C (C3=Steve, C4=Cindy).
0 as MATCH argument is like using FALSE in VLOOKUP (Exact match).
Formula goes in column D (FindAmount)



"Mac" wrote:

=Vlookup(a1,Range,6,FALSE)

Vlookup will count 6 column to the right and grab the value. Can I use
Vlookup to count to the left something like -6?

Thanks,
mac


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Vlookup to the left?

Thanks All,

I'll give it a try....


"Mac" wrote in message
...
=Vlookup(a1,Range,6,FALSE)

Vlookup will count 6 column to the right and grab the value. Can I use
Vlookup to count to the left something like -6?

Thanks,
mac




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
'RIGHT', 'LEFT' in a VLOOKUP RJB Excel Discussion (Misc queries) 6 March 14th 08 12:05 PM
vlookup left Mottyb Excel Worksheet Functions 2 November 22nd 07 07:58 PM
VLOOKUP LEFT VS RIGHT Jerry[_2_] Excel Worksheet Functions 2 September 7th 07 03:40 PM
Vlookup to the left comparini3000 Excel Worksheet Functions 4 June 23rd 06 09:22 PM
VLOOKUP *Left* Value jim Excel Discussion (Misc queries) 4 June 5th 06 05:15 PM


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

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"