Compare values in two columns and return the value from third
Solved/Closed
ramdubai
Posts
2
Registration date
Monday 11 March 2013
Status
Member
Last seen
11 March 2013
-
11 Mar 2013 à 01:34
keshav - 7 Sep 2016 à 02:30
keshav - 7 Sep 2016 à 02:30
Related:
- Excel match two columns and output third
- Excel lookup 2 columns return value from third - Best answers
- Vlookup compare two columns and return a third - Best answers
- Match value in 2 separate columns and return a value from a 3rd - Excel Forum
- Output arcade - Download - Musical production
- Excel mod apk for pc - Download - Spreadsheets
- Partial match excel - Guide
- Excel column number - Guide
4 responses
Kevin@Radstock
Posts
42
Registration date
Thursday 31 January 2013
Status
Member
Last seen
26 April 2014
9
11 Mar 2013 à 02:57
11 Mar 2013 à 02:57
Hi ramdubai
Are the criteria values unique! If they are, try the following. assuming your data is in A1:C100 including column headers.
=LOOKUP(2,1/((A2:A1000=Value1)*(B2:B1000=Value2)),C2:C1000)
If there are multiple criteria which match, then try the array formula ("ctrl + shift + enter" to commit)
=IFERROR(INDEX($C$2:$C$1000,SMALL(IF(($A$2:$A$1000=Value1)*($B$2:$B$1000=Value2),ROW($2:$1000)-ROW($1:$1)),ROW($A1))),"")
Kevin
Are the criteria values unique! If they are, try the following. assuming your data is in A1:C100 including column headers.
=LOOKUP(2,1/((A2:A1000=Value1)*(B2:B1000=Value2)),C2:C1000)
If there are multiple criteria which match, then try the array formula ("ctrl + shift + enter" to commit)
=IFERROR(INDEX($C$2:$C$1000,SMALL(IF(($A$2:$A$1000=Value1)*($B$2:$B$1000=Value2),ROW($2:$1000)-ROW($1:$1)),ROW($A1))),"")
Kevin
2 Mar 2014 à 14:18
I have a similar question please..
2 Mar 2014 à 14:29