Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9,101
Default Returning a value if multiple conditions are met

I am trying to develop a method which will return a value if each of three
conditions are met. The three conditions, each with a differing number of
possibilities, are set in three columns and for each permutation there is a
value associated with it.
I would then like to set up a drop down list for each condition from which
to select the possibility of each and have the value for that combination of
conditions returned to an adjacent cell.
Example:
Conditions A B C Value
possibilities 1 x a 1
1 y a 2
1 x b 3
1 y b 4
2 x a 5
2 y a 6
2 x b 7
2 y b 8


Select: A B C Result
2 x b 7
1 y a 2


Any help with this problem would be greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Returning a value if multiple conditions are met

Assuming your table in A2:D9, and your criteria in F2:H2

=index($D$2:$D$8,match(1,($A$2:$A$8=$F$2)*
($B$2:$B$8=$G$2)*($C$2:$C$8=$H$2,0))

should give the correct result.



"Joel" wrote in message
...
I am trying to develop a method which will return a value if each of three
conditions are met. The three conditions, each with a differing number of
possibilities, are set in three columns and for each permutation there is
a
value associated with it.
I would then like to set up a drop down list for each condition from which
to select the possibility of each and have the value for that combination
of
conditions returned to an adjacent cell.
Example:
Conditions A B C Value
possibilities 1 x a 1
1 y a 2
1 x b 3
1 y b 4
2 x a 5
2 y a 6
2 x b 7
2 y b 8


Select: A B C Result
2 x b 7
1 y a 2


Any help with this problem would be greatly appreciated.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Returning a value if multiple conditions are met

Hi,

Try this. A2:C9 is your data range. A15:C15 is the select table

=sumproduct(($A$2:$A$9=$A15)*($B$2:$B$9=$B15)*($C$ 2:$C$9=$C15)*($D$2:$D$9))

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Joel" wrote in message
...
I am trying to develop a method which will return a value if each of three
conditions are met. The three conditions, each with a differing number of
possibilities, are set in three columns and for each permutation there is
a
value associated with it.
I would then like to set up a drop down list for each condition from which
to select the possibility of each and have the value for that combination
of
conditions returned to an adjacent cell.
Example:
Conditions A B C Value
possibilities 1 x a 1
1 y a 2
1 x b 3
1 y b 4
2 x a 5
2 y a 6
2 x b 7
2 y b 8


Select: A B C Result
2 x b 7
1 y a 2


Any help with this problem would be greatly appreciated.


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
Returning a value if multiple conditions are met Jacob Skaria Excel Worksheet Functions 0 May 27th 10 09:28 PM
returning blank cell when conditions not met kfarley Excel Worksheet Functions 4 March 17th 08 10:24 PM
Returning a Value if 3 Conditions are True brownie224 Excel Worksheet Functions 5 May 11th 06 11:54 PM
returning a count if two conditions are met davmason Excel Worksheet Functions 5 July 17th 05 04:25 AM
How to multiple conditions to validate more than 2 conditions to . Bhuvana Govind Excel Worksheet Functions 1 January 28th 05 07:07 PM


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