I am trying to create a function that pulls data from another sheet that allows me to match two location #'s and 2 dates within a range, then display the value in the 3rd column.
Here is an example of what I mean: =If(Sheet1!A2=Sheet2!A2:A7) AND If(Sheet1!B2=Sheet2!B2:B7) THEN display value on Sheet 2 column C. Is there a function for this? Thanks for your help!
Sheet 1:
A B 1 Location# Date 2 123 7/1/2013 3 456 7/1/2013 4 789 7/1/2013 5 123 6/28/2013 6 456 6/28/2013 7 789 6/28/2013
Sheet 2:
A B C 1 Location# Date Employees 2 123 7/1/2013 10 3 456 7/1/2013 15 4 789 7/1/2013 20 5 123 6/28/2013 4 6 456 6/28/2013 9 7 789 6/28/2013 14
Bookmarks