Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LondonLion
 
Posts: n/a
Default Vlookup with 3 or more conditions

I have read from previous messages that lookups can be done with 2
conditions. Can they be done with 3 or more eg return a value if 3
conditions are met?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson
 
Posts: n/a
Default Vlookup with 3 or more conditions

You can use this kind of syntax:

=index(othersheet!$c$1:$c$100,
match(1,(a2=othersheet!$a$1:$a$100)*(b2=othersheet !$b$1:$b$100),0))
(one cell)

This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)

Adjust the range to match--but you can't use the whole column.

=====
Just keep adding more to that product (inside the =match() portion).

LondonLion wrote:

I have read from previous messages that lookups can be done with 2
conditions. Can they be done with 3 or more eg return a value if 3
conditions are met?

Thanks


--

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 considering 2 conditions emandell Excel Worksheet Functions 2 December 1st 05 10:18 AM
How do you do a VLookup with two conditions? ryesworld Excel Worksheet Functions 8 November 28th 05 10:57 PM
Vlookup using 2 conditions Jambruins Excel Discussion (Misc queries) 3 November 15th 05 02:15 PM
How:iserror vlookup & count no. times value shows with conditions Pauline Excel Worksheet Functions 8 October 14th 05 10:23 PM
Vlookup with multiple conditions cambrus Excel Worksheet Functions 1 March 11th 05 05:21 PM


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

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"