Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ichall
 
Posts: n/a
Default Multiple vlookup arguments


Does anyone know the solution to the following problem?

I have data with three columns. The first column is a spatial ID
column, the second a depth column. For any given ID there are multiple
depth values (i.e. there are repeating ID's for a number of different
depth values). The third column is a results column.

I then want to compare a given ID and depth to the 3 columns and return
the result.

I want to creat a formula that compares both my ID to the ID column and
my depth to the depth column to get the correct result. I've tried
different vlookup, and, if, and array combinations to no avail.

anyone?

Thanks

Ian


--
ichall
------------------------------------------------------------------------
ichall's Profile: http://www.excelforum.com/member.php...o&userid=28214
View this thread: http://www.excelforum.com/showthread...hreadid=477640

  #2   Report Post  
Domenic
 
Posts: n/a
Default Multiple vlookup arguments

Assumptions:

A1:A10 contains the ID

B1:B10 contains the Depth

C1:C10 contains the Result

Formula:

=INDEX($C$1:$C$10,MATCH(1,($A$1:$A$10=E1)*($B$1:$B $10=F1),0))

....where E1 contains the ID of interest, and F1 contains the Depth of
interest. The formula needs to be confirmed with CONTROL+SHIFT+ENTER,
not just ENTER.

Hope this helps!

In article ,
ichall wrote:

Does anyone know the solution to the following problem?

I have data with three columns. The first column is a spatial ID
column, the second a depth column. For any given ID there are multiple
depth values (i.e. there are repeating ID's for a number of different
depth values). The third column is a results column.

I then want to compare a given ID and depth to the 3 columns and return
the result.

I want to creat a formula that compares both my ID to the ID column and
my depth to the depth column to get the correct result. I've tried
different vlookup, and, if, and array combinations to no avail.

anyone?

Thanks

Ian

  #3   Report Post  
ichall
 
Posts: n/a
Default Multiple vlookup arguments


thanks

Ian


--
ichall
------------------------------------------------------------------------
ichall's Profile: http://www.excelforum.com/member.php...o&userid=28214
View this thread: http://www.excelforum.com/showthread...hreadid=477640

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 and multiple columns Dan Belcher Excel Discussion (Misc queries) 6 September 17th 05 11:47 AM
how do I use vlookup for multiple occurrences of the same value bj Excel Worksheet Functions 0 April 27th 05 10:43 PM
Can VLOOKUP return multiple answers based on several identical lo. jddtct Excel Worksheet Functions 3 January 11th 05 07:03 AM
vlookup with multiple lines of same value lostinexcel Excel Worksheet Functions 1 December 17th 04 02:06 PM
vlookup over multiple worksheets Neil Excel Worksheet Functions 3 December 16th 04 08:19 PM


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