Compare values in two columns and return the value from third

ramdubai Posts 2 Registration date Monday March 11, 2013 Status Member Last seen March 11, 2013 - Updated on Jan 13, 2019 at 11:28 AM
 keshav - Sep 7, 2016 at 02:30 AM

I've a table containing four columns. If the values in the first two columns match to particular value (eg. A1="xxxx" and B1="yyy"), I need to return the value in the third column to the fourth column.
Can anybody help??? Thanks in advance.

4 replies

Kevin@Radstock Posts 42 Registration date Thursday January 31, 2013 Status Member Last seen April 26, 2014 9
Mar 11, 2013 at 02:57 AM
Hi ramdubai

Are the criteria values unique! If they are, try the following. assuming your data is in A1:C100 including column headers.


If there are multiple criteria which match, then try the array formula ("ctrl + shift + enter" to commit)


hey Kevin may I ask you something please?
I have a similar question please..
I have two columns A and B I want to match them, when they do match at a cell I want to return a value from a third column to a fourth column..the value needed from the third column is in the same row as the matched value in column B how can I do that please?