Populate a cell if values in cell 1 and cell 2 match cell 3 and 4

T

tviola

I need help with a formula please. I need to search through a column
of data and populate a cell if it meets a condition. For example:

IF FirstWorksheet!A2 = SecondWorksheet!ColumnAx and
FirstWorksheet!B2 = SecondWorksheet!ColumnBx
Then populate SecondWorksheet!Cx with value from FirstWorksheet!C2


I have to match up a column of data in one worksheet with data in 2
columns in another worksheet.


Help plz. Thanks


T-
 
M

Max

A multi-criteria index n match (array-entered) should work here

In Sheet2,
Copy n paste this into C2's formula bar, then array-enter the formula by
pressing CTRL+SHIFT+ENTER (instead of just pressing ENTER):
=INDEX(Sheet1!$C$2:$C$100,MATCH(1,(Sheet1!$A$2:$A$100=A2)*(Sheet1!$B$2:$B$100=B2),0))
Copy C2 down. Adapt the ranges to suit.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,400 Files:358 Subscribers:55
xdemechanik
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top