Hi All,
I am after some assistance with writing a formula.
This is the data I have to work with:
Sheet1-
[TABLE="width: 593"]
<tbody>[TR]
[TD]A[/TD]
[TD]B [/TD]
[TD] C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]CIS Key [/TD]
[TD]Document Created Date[/TD]
[TD]Client Name[/TD]
[TD]Planner Name[/TD]
[TD]Case ID[/TD]
[TD]Task when Document was Created [/TD]
[/TR]
[TR]
[TD="align: right"]1111111[/TD]
[TD="align: right"] 8/04/2018[/TD]
[TD] Client 1[/TD]
[TD]Planner 1[/TD]
[TD="align: right"]23565454[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2222222[/TD]
[TD="align: right"]8/04/2018[/TD]
[TD] Client 2[/TD]
[TD]Planner 2[/TD]
[TD="align: right"]46412125[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]3333333[/TD]
[TD="align: right"]8/04/2018[/TD]
[TD] Client 3[/TD]
[TD]Planner 3[/TD]
[TD="align: right"]56467674[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]4444444[/TD]
[TD="align: right"]9/04/2018[/TD]
[TD] Client 4[/TD]
[TD]Planner 4[/TD]
[TD="align: right"]78912134[/TD]
[TD][/TD]
[/TR]
</tbody><colgroup><col><col><col><col><col><col></colgroup>[/TABLE]
Sheet2-
[TABLE="width: 637"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]Case ID[/TD]
[TD]Case Status[/TD]
[TD]Task[/TD]
[TD]TASKID[/TD]
[TD]Task Start date[/TD]
[TD]Task end date[/TD]
[/TR]
[TR]
[TD="align: right"]23565454[/TD]
[TD]Active[/TD]
[TD]Refine and Finalise Advice Document[/TD]
[TD="align: right"]21577829[/TD]
[TD="align: right"]8/04/2018[/TD]
[TD="align: right"]16/04/2018[/TD]
[/TR]
[TR]
[TD="align: right"]46412125[/TD]
[TD]Active[/TD]
[TD]Perform Quality Assurance[/TD]
[TD="align: right"]21577844[/TD]
[TD="align: right"]16/04/2018[/TD]
[TD="align: right"]16/04/2018[/TD]
[/TR]
[TR]
[TD="align: right"]56467674[/TD]
[TD]Active[/TD]
[TD]Verify Implementation[/TD]
[TD="align: right"]21577883[/TD]
[TD="align: right"]8/04/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]78912134[/TD]
[TD]Active[/TD]
[TD]Confirm Advice Requirements[/TD]
[TD="align: right"]21577935[/TD]
[TD="align: right"]16/04/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]23565454[/TD]
[TD]Active[/TD]
[TD]Confirm Advice Requirements[/TD]
[TD="align: right"]21577942[/TD]
[TD="align: right"]16/04/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]46412125[/TD]
[TD]Active[/TD]
[TD]Perform Collaboration Call[/TD]
[TD="align: right"]21577989[/TD]
[TD="align: right"]8/04/2018[/TD]
[TD="align: right"]16/04/2018[/TD]
[/TR]
[TR]
[TD="align: right"]56467674[/TD]
[TD]Active[/TD]
[TD]Finalise Advice Document[/TD]
[TD="align: right"]21578007[/TD]
[TD="align: right"]16/04/2018[/TD]
[TD="align: right"]16/04/2018[/TD]
[/TR]
[TR]
[TD="align: right"]78912134[/TD]
[TD]Active[/TD]
[TD]Collect Customer Financials[/TD]
[TD="align: right"]21578000[/TD]
[TD="align: right"]8/04/2018[/TD]
[TD="align: right"]16/04/2018[/TD]
[/TR]
</tbody><colgroup><col><col><col><col><col><col></colgroup>[/TABLE]
This is what I would like to achieve:
In column F of sheet1 - If the start date in column B of Sheet1 falls either on or between the start and end date in columns E & F of Sheet2 AND if the case ID in column E of Sheet1 matches with the case ID in column A of sheet2 then populate column F of Sheet1 with column C of Sheet2.
This is what I have done so far: =INDEX('Sheet2'!C:C,MATCH('Sheet1'!E2,'Sheet2'!A:C,3,FALSE))
I am not sure how to incorporate the date argument in the above, any ideas would be much appreciated.
Thank you.
I am after some assistance with writing a formula.
This is the data I have to work with:
Sheet1-
[TABLE="width: 593"]
<tbody>[TR]
[TD]A[/TD]
[TD]B [/TD]
[TD] C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]CIS Key [/TD]
[TD]Document Created Date[/TD]
[TD]Client Name[/TD]
[TD]Planner Name[/TD]
[TD]Case ID[/TD]
[TD]Task when Document was Created [/TD]
[/TR]
[TR]
[TD="align: right"]1111111[/TD]
[TD="align: right"] 8/04/2018[/TD]
[TD] Client 1[/TD]
[TD]Planner 1[/TD]
[TD="align: right"]23565454[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2222222[/TD]
[TD="align: right"]8/04/2018[/TD]
[TD] Client 2[/TD]
[TD]Planner 2[/TD]
[TD="align: right"]46412125[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]3333333[/TD]
[TD="align: right"]8/04/2018[/TD]
[TD] Client 3[/TD]
[TD]Planner 3[/TD]
[TD="align: right"]56467674[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]4444444[/TD]
[TD="align: right"]9/04/2018[/TD]
[TD] Client 4[/TD]
[TD]Planner 4[/TD]
[TD="align: right"]78912134[/TD]
[TD][/TD]
[/TR]
</tbody><colgroup><col><col><col><col><col><col></colgroup>[/TABLE]
Sheet2-
[TABLE="width: 637"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]Case ID[/TD]
[TD]Case Status[/TD]
[TD]Task[/TD]
[TD]TASKID[/TD]
[TD]Task Start date[/TD]
[TD]Task end date[/TD]
[/TR]
[TR]
[TD="align: right"]23565454[/TD]
[TD]Active[/TD]
[TD]Refine and Finalise Advice Document[/TD]
[TD="align: right"]21577829[/TD]
[TD="align: right"]8/04/2018[/TD]
[TD="align: right"]16/04/2018[/TD]
[/TR]
[TR]
[TD="align: right"]46412125[/TD]
[TD]Active[/TD]
[TD]Perform Quality Assurance[/TD]
[TD="align: right"]21577844[/TD]
[TD="align: right"]16/04/2018[/TD]
[TD="align: right"]16/04/2018[/TD]
[/TR]
[TR]
[TD="align: right"]56467674[/TD]
[TD]Active[/TD]
[TD]Verify Implementation[/TD]
[TD="align: right"]21577883[/TD]
[TD="align: right"]8/04/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]78912134[/TD]
[TD]Active[/TD]
[TD]Confirm Advice Requirements[/TD]
[TD="align: right"]21577935[/TD]
[TD="align: right"]16/04/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]23565454[/TD]
[TD]Active[/TD]
[TD]Confirm Advice Requirements[/TD]
[TD="align: right"]21577942[/TD]
[TD="align: right"]16/04/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]46412125[/TD]
[TD]Active[/TD]
[TD]Perform Collaboration Call[/TD]
[TD="align: right"]21577989[/TD]
[TD="align: right"]8/04/2018[/TD]
[TD="align: right"]16/04/2018[/TD]
[/TR]
[TR]
[TD="align: right"]56467674[/TD]
[TD]Active[/TD]
[TD]Finalise Advice Document[/TD]
[TD="align: right"]21578007[/TD]
[TD="align: right"]16/04/2018[/TD]
[TD="align: right"]16/04/2018[/TD]
[/TR]
[TR]
[TD="align: right"]78912134[/TD]
[TD]Active[/TD]
[TD]Collect Customer Financials[/TD]
[TD="align: right"]21578000[/TD]
[TD="align: right"]8/04/2018[/TD]
[TD="align: right"]16/04/2018[/TD]
[/TR]
</tbody><colgroup><col><col><col><col><col><col></colgroup>[/TABLE]
This is what I would like to achieve:
In column F of sheet1 - If the start date in column B of Sheet1 falls either on or between the start and end date in columns E & F of Sheet2 AND if the case ID in column E of Sheet1 matches with the case ID in column A of sheet2 then populate column F of Sheet1 with column C of Sheet2.
This is what I have done so far: =INDEX('Sheet2'!C:C,MATCH('Sheet1'!E2,'Sheet2'!A:C,3,FALSE))
I am not sure how to incorporate the date argument in the above, any ideas would be much appreciated.
Thank you.