Hi All - been stuck on this for a day (in between other tasks).
We have a weekly leavers/changes/transfers workbook which we add to daily. I need to be able to pull the data from this workbook into another. I need the first 6 columns (A:F) if the date in column f is sometime last week.
The leavers spreadsheet is: Leavers & Changes 2017- Shared File.xlsx
The second spreadsheet is weekly changes.xslx
The first six columns I would retrieve would be as per below and the date range is specified in the second spreadsheet in cells I1 and I2.
[TABLE="width: 864"]
<tbody>[TR]
[TD]Received Date[/TD]
[TD]Contract[/TD]
[TD]ID[/TD]
[TD]Full Name[/TD]
[TD]Start date[/TD]
[TD]LeaveDate[/TD]
[TD][/TD]
[TD]Date Range[/TD]
[TD="align: right"]30-Jul[/TD]
[/TR]
[TR]
[TD]17/07/2018[/TD]
[TD]Contract 1[/TD]
[TD]12345[/TD]
[TD]Colleague 1[/TD]
[TD]06/03/2017[/TD]
[TD]03/08/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]05-Aug[/TD]
[/TR]
[TR]
[TD]24/07/2018[/TD]
[TD]Contract 2[/TD]
[TD]12352[/TD]
[TD]Colleague 2[/TD]
[TD]20/09/2013[/TD]
[TD]04/08/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]25/07/2018[/TD]
[TD]Contract 3[/TD]
[TD]12359[/TD]
[TD]Colleague 3[/TD]
[TD]11/06/2018[/TD]
[TD]29/07/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]26/07/2018[/TD]
[TD]Contract 4[/TD]
[TD]12366[/TD]
[TD]Colleague 4[/TD]
[TD]07/03/2017[/TD]
[TD]31/07/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]27/07/2018[/TD]
[TD]Contract 5[/TD]
[TD]12373[/TD]
[TD]Colleague 5[/TD]
[TD]29/06/2018[/TD]
[TD]27/07/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]30/07/2018[/TD]
[TD]Contract 6[/TD]
[TD]12380[/TD]
[TD]Colleague 6[/TD]
[TD]11/07/2018[/TD]
[TD]30/07/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]30/07/2018[/TD]
[TD]Contract 7[/TD]
[TD]12387[/TD]
[TD]Colleague 7[/TD]
[TD]25/09/2017[/TD]
[TD]30/07/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I've tried this array but it just returns the first value from the first row that meets the date requirement. I know something is wrong - just not sure how to fix.
Thanks in advance
Damian
=IFERROR(INDEX('[Leavers & Changes 2017- Shared File.xlsx]Leavers'!$A1:$A9999,SMALL(IF(('[Leavers & Changes 2017- Shared File.xlsx]Leavers'!$F1:$F9999>=$I$1)*('[Leavers & Changes 2017- Shared File.xlsx]Leavers'!$F1:$F9999<=$I$2),ROW('[Leavers & Changes 2017- Shared File.xlsx]Leavers'!$A1:$A9999),9E+99),ROW(1:1))-1),"")
We have a weekly leavers/changes/transfers workbook which we add to daily. I need to be able to pull the data from this workbook into another. I need the first 6 columns (A:F) if the date in column f is sometime last week.
The leavers spreadsheet is: Leavers & Changes 2017- Shared File.xlsx
The second spreadsheet is weekly changes.xslx
The first six columns I would retrieve would be as per below and the date range is specified in the second spreadsheet in cells I1 and I2.
[TABLE="width: 864"]
<tbody>[TR]
[TD]Received Date[/TD]
[TD]Contract[/TD]
[TD]ID[/TD]
[TD]Full Name[/TD]
[TD]Start date[/TD]
[TD]LeaveDate[/TD]
[TD][/TD]
[TD]Date Range[/TD]
[TD="align: right"]30-Jul[/TD]
[/TR]
[TR]
[TD]17/07/2018[/TD]
[TD]Contract 1[/TD]
[TD]12345[/TD]
[TD]Colleague 1[/TD]
[TD]06/03/2017[/TD]
[TD]03/08/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]05-Aug[/TD]
[/TR]
[TR]
[TD]24/07/2018[/TD]
[TD]Contract 2[/TD]
[TD]12352[/TD]
[TD]Colleague 2[/TD]
[TD]20/09/2013[/TD]
[TD]04/08/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]25/07/2018[/TD]
[TD]Contract 3[/TD]
[TD]12359[/TD]
[TD]Colleague 3[/TD]
[TD]11/06/2018[/TD]
[TD]29/07/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]26/07/2018[/TD]
[TD]Contract 4[/TD]
[TD]12366[/TD]
[TD]Colleague 4[/TD]
[TD]07/03/2017[/TD]
[TD]31/07/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]27/07/2018[/TD]
[TD]Contract 5[/TD]
[TD]12373[/TD]
[TD]Colleague 5[/TD]
[TD]29/06/2018[/TD]
[TD]27/07/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]30/07/2018[/TD]
[TD]Contract 6[/TD]
[TD]12380[/TD]
[TD]Colleague 6[/TD]
[TD]11/07/2018[/TD]
[TD]30/07/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]30/07/2018[/TD]
[TD]Contract 7[/TD]
[TD]12387[/TD]
[TD]Colleague 7[/TD]
[TD]25/09/2017[/TD]
[TD]30/07/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I've tried this array but it just returns the first value from the first row that meets the date requirement. I know something is wrong - just not sure how to fix.
Thanks in advance
Damian
=IFERROR(INDEX('[Leavers & Changes 2017- Shared File.xlsx]Leavers'!$A1:$A9999,SMALL(IF(('[Leavers & Changes 2017- Shared File.xlsx]Leavers'!$F1:$F9999>=$I$1)*('[Leavers & Changes 2017- Shared File.xlsx]Leavers'!$F1:$F9999<=$I$2),ROW('[Leavers & Changes 2017- Shared File.xlsx]Leavers'!$A1:$A9999),9E+99),ROW(1:1))-1),"")