Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Vlookup from 2 columns

What I want to do is use vlookup to match column a on sheet 1 to column a on
sheet 2, then match column b on sheet 1 to column b on sheet 2, and return
the value in column c on sheet 1. Can this be done?

Thanks in advance for any help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 256
Default Vlookup from 2 columns

Try something like...

=INDEX(Sheet1!$C$2:$C$100,MATCH(1,IF(Sheet1!$A$2:$ A$100=Sheet2!A2,IF(Shee
t1!$B$2:$B$100=Sheet2!B2,1)),0))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article ,
cursednomore wrote:

What I want to do is use vlookup to match column a on sheet 1 to column a on
sheet 2, then match column b on sheet 1 to column b on sheet 2, and return
the value in column c on sheet 1. Can this be done?

Thanks in advance for any help.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Vlookup from 2 columns

Perfect! Thanks very much, you just saved me a great deal of work!!

"Domenic" wrote:

Try something like...

=INDEX(Sheet1!$C$2:$C$100,MATCH(1,IF(Sheet1!$A$2:$ A$100=Sheet2!A2,IF(Shee
t1!$B$2:$B$100=Sheet2!B2,1)),0))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article ,
cursednomore wrote:

What I want to do is use vlookup to match column a on sheet 1 to column a on
sheet 2, then match column b on sheet 1 to column b on sheet 2, and return
the value in column c on sheet 1. Can this be done?

Thanks in advance for any help.


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 for non-unique fields EdwardG Excel Discussion (Misc queries) 0 May 13th 06 09:17 AM
2 way Vlookup - Creating array arguments from columns Hari Excel Discussion (Misc queries) 1 May 11th 06 01:18 PM
Trying to do Vlookup on multiple columns from different worksheet Jay Excel Worksheet Functions 2 May 9th 06 05:46 PM
Vlookup using two columns Daniel Bonallack Excel Worksheet Functions 3 December 9th 05 07:02 PM
vlookup for multiple columns MXC Excel Worksheet Functions 6 March 4th 05 09:59 PM


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