Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Find value based on two lookup values

Hi,

This is my spreadsheet:

A B C
1 ID Type Number
___________________________
2 10 Green 12
3 10 Red 11
4 10 Blue 10
5 10 White 19
6 20 Green 33
7 20 Red 27
8 20 Blue 15
9 20 White 10


How do I find the value in column C for: ID 10 in combination with Type
white?

Have tried with Index and Match but have not succeeded.
=INDEX(A2:C9,MATCH("10"&"White",A2:A9 & B2:B9,0),3)
Using Excel 2007
Hope someone can help.

Best regards,
Kaj Pedersen

---
Denne e-mail er fri for virus og malware fordi avast! Antivirus beskyttelse er aktiveret.
http://www.avast.com

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 168
Default Find value based on two lookup values

On Sunday, October 27, 2013 9:20:46 AM UTC-7, wrote:
Hi,



This is my spreadsheet:



A B C

1 ID Type Number

___________________________

2 10 Green 12

3 10 Red 11

4 10 Blue 10

5 10 White 19

6 20 Green 33

7 20 Red 27

8 20 Blue 15

9 20 White 10





How do I find the value in column C for: ID 10 in combination with Type

white?



Have tried with Index and Match but have not succeeded.

=INDEX(A2:C9,MATCH("10"&"White",A2:A9 & B2:B9,0),3)

Using Excel 2007

Hope someone can help.



Best regards,

Kaj Pedersen



---

Denne e-mail er fri for virus og malware fordi avast! Antivirus beskyttelse er aktiveret.

http://www.avast.com


Try

=SUMPRODUCT((A2:A10=D1)*(B2:B10=E1)*(C2:C10))

Where D1 is an ID and E1 is a Type.

Regards,
Howard
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Find value based on two lookup values

Hi Howard,

Thank you very much for your suggestion.
It works to my fully satisfaction.

Regards,
Kaj Pedersen

---
Denne e-mail er fri for virus og malware fordi avast! Antivirus beskyttelse er aktiveret.
http://www.avast.com

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
Trying to lookup based on a condition of two values Trying to lookup based on a condition of Excel Worksheet Functions 1 June 2nd 10 03:00 PM
Lookup based on matrix values andy62 Excel Discussion (Misc queries) 2 May 28th 10 04:54 PM
Lookup value based on 2 cell values BorderMaster Excel Worksheet Functions 9 February 10th 09 04:35 PM
Lookup Based on 4 values [email protected] Excel Discussion (Misc queries) 3 December 22nd 06 07:57 PM
Search/Filter to find values in another range based on two cell values Andy Excel Programming 2 April 29th 04 04:08 PM


All times are GMT +1. The time now is 05:26 AM.

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"