Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 190
Default VLOOKUP with 2 criteria

hi,

I have the following:

=VLOOKUP(F2,'SHEET_NAME'!B:G,6,FALSE)

I would like to know how I can add another criteria to this VLOOKUP, like
instead of just looking at F2, I want it to look at F2 and A2. Is there a
way to do this, or a better way?


thanks in advance,
geebee


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VLOOKUP with 2 criteria

On Nov 1, 10:54 am, geebee (noSPAMs) wrote:
hi,

I have the following:

=VLOOKUP(F2,'SHEET_NAME'!B:G,6,FALSE)

I would like to know how I can add another criteria to this VLOOKUP, like
instead of just looking at F2, I want it to look at F2 and A2. Is there a
way to do this, or a better way?

thanks in advance,
geebee


Can you explain a little more of what you are trying to do? Why do
you need both F2 and A2? Maybe the INDEX() function will work?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default VLOOKUP with 2 criteria

If the concatenated value of B2 and F2 is in column B, then

=VLOOKUP(B2&F2,'SHEET_NAME'!B:G,6,FALSE)

if they are separate in say Band C then

=INDEX(G1:G1000,MATCH(1,(B2='SHEET NAME'!B1:B1000)*(F2='SHEET
NAME'!C1:C1000),0))


--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"geebee" (noSPAMs) wrote in message
...
hi,

I have the following:

=VLOOKUP(F2,'SHEET_NAME'!B:G,6,FALSE)

I would like to know how I can add another criteria to this VLOOKUP, like
instead of just looking at F2, I want it to look at F2 and A2. Is there a
way to do this, or a better way?


thanks in advance,
geebee




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 with 2 criteria or more Are Excel Discussion (Misc queries) 2 November 17th 09 07:49 AM
Vlookup using 2 criteria mebsmith Excel Discussion (Misc queries) 2 October 22nd 08 06:59 PM
Vlookup with 4 Criteria Gina_28 Excel Discussion (Misc queries) 4 October 15th 08 12:45 AM
Vlookup with more than 1 criteria EoinL Excel Discussion (Misc queries) 2 October 11th 07 12:08 PM
vlookup with two criteria hollister22nh Excel Worksheet Functions 1 February 25th 06 02:42 PM


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

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"