• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Index Match Multiple Conditions

GB

Member
Hi,
I have read various posts on this problem but haven't found a solution so I am requesting your help please.

I have 4 columns of data in one worksheet (Sheet1)
Col A = ID
Col B = Date From
Col C = Date To
Col D = Workgroup

I another worksheet (Sheet2) I have
Col A = ID
Col B = Date
Col C = a formula to the problem I am trying to resolve.

I want to return the "Workgroup" from Sheet1 into Sheet2 if all the following conditions are true:
ID = ID
Date >= Date From
Date <= Date To

I have tried the following formula array entered without success
{=INDEX(Sheet2!$D$2:$D$889,MATCH(A2=Sheet2!A:A,0)&MATCH(B2,Sheet2!B:B,-1)&MATCH(B2,Sheet2!C:C,1))}

Any assistance would be grateful.
regards
GB
 

Attachments

  • IndexMatchMultipleConditions.xlsx
    40 KB · Views: 5
Back
Top