Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default advanced VLOOKUP command?

Is there a way to use the vlookup function to look for two values in
one table (lets say, columns A&B) and return the value in column C?

For example
Column A Column B Column C
Big Blue =VLOOKUP
(???????????????) so that "Bird" is returned

source
Column X Column Y Column Z
Big Blue Bird
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 913
Default advanced VLOOKUP command?

On Wed, 11 Mar 2009 15:44:27 -0700 (PDT), smith06374
wrote:

Is there a way to use the vlookup function to look for two values in
one table (lets say, columns A&B) and return the value in column C?

For example
Column A Column B Column C
Big Blue =VLOOKUP
(???????????????) so that "Bird" is returned

source
Column X Column Y Column Z
Big Blue Bird



Try this formula in cell C1

=INDEX(Z1:Z100,MATCH(A1&B1,X1:X100&Y1:Y100,0))

Note: This is an array formula that should be entered with
CTRL+SHIFT+ENTER rather than just ENTER.

Change the100 to fit the size of your source data in columns X, Y, Z.

Hope this helps / Lars-Åke

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default advanced VLOOKUP command?

THANK YOU THANK YOU THANK YOU!!!!!!!!!!!!!!!!!!!

You just saved me a couple hours worth of tedious mind-numbing work!



On Mar 12, 1:46*am, Lars-Åke Aspelin
wrote:
On Wed, 11 Mar 2009 15:44:27 -0700 (PDT), smith06374

wrote:
Is there a way to use the vlookup function to look for two values in
one table (lets say, columns A&B) and return the value in column C?


For example
Column A * * * * * * * *Column B * * * * * * * * Column C
Big * * * * * * * * * * * * *Blue * * * * * * * * * * * * =VLOOKUP
(???????????????) * *so that "Bird" is returned


source
Column X * * * * * * * * Column Y * * * * * * * * Column Z
Big * * * * * * * * * * * * *Blue * * * * * * * * * * * * Bird


Try this formula in cell C1

=INDEX(Z1:Z100,MATCH(A1&B1,X1:X100&Y1:Y100,0))

Note: This is an array formula that should be entered with
CTRL+SHIFT+ENTER rather than just ENTER.

Change the100 to fit the size of your source data in columns X, Y, Z.

Hope this helps / Lars-Åke


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
how to sum multiple matches to a vlookup command LoganTaylin Excel Worksheet Functions 3 April 2nd 23 07:50 PM
Help with advanced vlookup and offset (in an index function) Eleni Excel Worksheet Functions 1 November 24th 10 06:17 PM
Help using VLOOKUP command Scott Excel Discussion (Misc queries) 7 May 18th 09 11:45 AM
Using the VLOOKUP Command Glen Disteafno Excel Worksheet Functions 2 October 27th 06 09:39 PM
Advanced Find Command?? Debbie Excel Discussion (Misc queries) 1 February 4th 05 09:07 PM


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