Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sam Sam is offline
external usenet poster
 
Posts: 699
Default Vlookup with multiple variables

How do I do a vlookup which will match multple variables?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Vlookup with multiple variables

Need some details!

--
Biff
Microsoft Excel MVP


"Sam" wrote in message
...
How do I do a vlookup which will match multple variables?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Vlookup with multiple variables

Try this

=INDEX(A1:A10,MATCH(1,(B1:B10="value1")*(C1:C10="v alue2"),0))

where a1 - A10 is the value to return and the other 2 columns are the lookup
values

Mike

"Sam" wrote:

How do I do a vlookup which will match multple variables?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sam Sam is offline
external usenet poster
 
Posts: 699
Default Vlookup with multiple variables

I tried the formula you suggested, but received #N/A. Is there something
wrong with my formula?

=INDEX(planning_nodes!C2:C6500,MATCH(1,(planning_n odes!A2:A6500=Editorial!A2)*(planning_nodes!G2:G65 00=Editorial!D2),0))


"Mike H" wrote:

Try this

=INDEX(A1:A10,MATCH(1,(B1:B10="value1")*(C1:C10="v alue2"),0))

where a1 - A10 is the value to return and the other 2 columns are the lookup
values

Mike

"Sam" wrote:

How do I do a vlookup which will match multple variables?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Vlookup with multiple variables

Sam

Enter as an array with Ctrl+Shift+Enter and Excel will put curly brackets
around it {} and it works fine for me. You CANT type the curly brackets
yourself

Mike

"Sam" wrote:

I tried the formula you suggested, but received #N/A. Is there something
wrong with my formula?

=INDEX(planning_nodes!C2:C6500,MATCH(1,(planning_n odes!A2:A6500=Editorial!A2)*(planning_nodes!G2:G65 00=Editorial!D2),0))


"Mike H" wrote:

Try this

=INDEX(A1:A10,MATCH(1,(B1:B10="value1")*(C1:C10="v alue2"),0))

where a1 - A10 is the value to return and the other 2 columns are the lookup
values

Mike

"Sam" wrote:

How do I do a vlookup which will match multple variables?



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sam Sam is offline
external usenet poster
 
Posts: 699
Default Vlookup with multiple variables

What do the 1 and 0 do in the formula?

"Mike H" wrote:

Sam

Enter as an array with Ctrl+Shift+Enter and Excel will put curly brackets
around it {} and it works fine for me. You CANT type the curly brackets
yourself

Mike

"Sam" wrote:

I tried the formula you suggested, but received #N/A. Is there something
wrong with my formula?

=INDEX(planning_nodes!C2:C6500,MATCH(1,(planning_n odes!A2:A6500=Editorial!A2)*(planning_nodes!G2:G65 00=Editorial!D2),0))


"Mike H" wrote:

Try this

=INDEX(A1:A10,MATCH(1,(B1:B10="value1")*(C1:C10="v alue2"),0))

where a1 - A10 is the value to return and the other 2 columns are the lookup
values

Mike

"Sam" wrote:

How do I do a vlookup which will match multple variables?

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sam Sam is offline
external usenet poster
 
Posts: 699
Default Vlookup with multiple variables

I did the Ctrl+Shift+Enter and still got the error message.

Any other suggestions?

"Mike H" wrote:

Sam

Enter as an array with Ctrl+Shift+Enter and Excel will put curly brackets
around it {} and it works fine for me. You CANT type the curly brackets
yourself

Mike

"Sam" wrote:

I tried the formula you suggested, but received #N/A. Is there something
wrong with my formula?

=INDEX(planning_nodes!C2:C6500,MATCH(1,(planning_n odes!A2:A6500=Editorial!A2)*(planning_nodes!G2:G65 00=Editorial!D2),0))


"Mike H" wrote:

Try this

=INDEX(A1:A10,MATCH(1,(B1:B10="value1")*(C1:C10="v alue2"),0))

where a1 - A10 is the value to return and the other 2 columns are the lookup
values

Mike

"Sam" wrote:

How do I do a vlookup which will match multple variables?

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sam Sam is offline
external usenet poster
 
Posts: 699
Default Vlookup with multiple variables

Oops! My error. It works.

Thanks.

"Mike H" wrote:

Sam

Enter as an array with Ctrl+Shift+Enter and Excel will put curly brackets
around it {} and it works fine for me. You CANT type the curly brackets
yourself

Mike

"Sam" wrote:

I tried the formula you suggested, but received #N/A. Is there something
wrong with my formula?

=INDEX(planning_nodes!C2:C6500,MATCH(1,(planning_n odes!A2:A6500=Editorial!A2)*(planning_nodes!G2:G65 00=Editorial!D2),0))


"Mike H" wrote:

Try this

=INDEX(A1:A10,MATCH(1,(B1:B10="value1")*(C1:C10="v alue2"),0))

where a1 - A10 is the value to return and the other 2 columns are the lookup
values

Mike

"Sam" wrote:

How do I do a vlookup which will match multple variables?

  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sam Sam is offline
external usenet poster
 
Posts: 699
Default Vlookup with multiple variables

Hi Mike. It worked, but when I went to lock in the columns to drag the
formula down, I received an error message. How do I lock the columns?

Thanks.

"Mike H" wrote:

Sam

Enter as an array with Ctrl+Shift+Enter and Excel will put curly brackets
around it {} and it works fine for me. You CANT type the curly brackets
yourself

Mike

"Sam" wrote:

I tried the formula you suggested, but received #N/A. Is there something
wrong with my formula?

=INDEX(planning_nodes!C2:C6500,MATCH(1,(planning_n odes!A2:A6500=Editorial!A2)*(planning_nodes!G2:G65 00=Editorial!D2),0))


"Mike H" wrote:

Try this

=INDEX(A1:A10,MATCH(1,(B1:B10="value1")*(C1:C10="v alue2"),0))

where a1 - A10 is the value to return and the other 2 columns are the lookup
values

Mike

"Sam" wrote:

How do I do a vlookup which will match multple variables?

  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Vlookup with multiple variables

Maybe you want:

=INDEX(planning_nodes!$C$2:$C$6500,
MATCH(1,(planning_nodes!$A$2:$A$6500=Editorial!$A2 )
*(planning_nodes!$G$2:$G$6500=Editorial!$D2),0))



Sam wrote:

Hi Mike. It worked, but when I went to lock in the columns to drag the
formula down, I received an error message. How do I lock the columns?

Thanks.

"Mike H" wrote:

Sam

Enter as an array with Ctrl+Shift+Enter and Excel will put curly brackets
around it {} and it works fine for me. You CANT type the curly brackets
yourself

Mike

"Sam" wrote:

I tried the formula you suggested, but received #N/A. Is there something
wrong with my formula?

=INDEX(planning_nodes!C2:C6500,MATCH(1,(planning_n odes!A2:A6500=Editorial!A2)*(planning_nodes!G2:G65 00=Editorial!D2),0))


"Mike H" wrote:

Try this

=INDEX(A1:A10,MATCH(1,(B1:B10="value1")*(C1:C10="v alue2"),0))

where a1 - A10 is the value to return and the other 2 columns are the lookup
values

Mike

"Sam" wrote:

How do I do a vlookup which will match multple variables?


--

Dave Peterson
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 multiple variables jatman Excel Discussion (Misc queries) 1 August 5th 08 12:17 AM
VLOOKUP - TWO Variables RJB Excel Discussion (Misc queries) 4 December 13th 07 08:29 AM
VLOOKUP - Two Variables RJB Excel Discussion (Misc queries) 0 December 12th 07 06:49 AM
vlookup Variables Megadrone Excel Worksheet Functions 2 November 28th 06 11:30 PM
Please Help! vlookup & match with multiple variables ivygirl Excel Worksheet Functions 2 January 7th 06 09:46 AM


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