Hi, I am new to this forum and this is my 1st post for help.
I have outlined the problem below:
[TABLE="width: 822"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[TD="align: center"]I[/TD]
[TD="align: center"]J[/TD]
[TD="align: center"]K[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD]Job number
[/TD]
[TD]visit date
[/TD]
[TD]Job type
[/TD]
[TD]Status
[/TD]
[TD][/TD]
[TD]
[/TD]
[TD]1st
[/TD]
[TD]2nd
[/TD]
[TD]3rd
[/TD]
[TD]4th
[/TD]
[TD]5th
[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD]23502-3
[/TD]
[TD]04/04/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[TD]
[/TD]
[TD]1
[/TD]
[TD]2
[/TD]
[TD]3
[/TD]
[TD]4
[/TD]
[TD]5
[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD]23502-4
[/TD]
[TD]13/04/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[TD]23502
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD]23502-5
[/TD]
[TD]07/06/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[TD]23509
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD]23502-6
[/TD]
[TD]12/07/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD]23502-7
[/TD]
[TD]29/08/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[TD="colspan: 6"]For each 'job number' entered in column 'F', I want to insert the 1st, 2nd, 3rd etc occurrences of 'visit date' (Column 'B'), that relates to 'Job numbers' in column 'A', into cells under columns 'G3:K4'. However, only if they match the 'Job Type' "Contract" (Column 'C') AND the 'Status' "Visit Completed" (Column 'D').
I have tried the function 'SMALL' withmultiple 'IF' statements, but can't get it to work.
[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD]23502-8
[/TD]
[TD]11/10/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD]s23502-8(1)
[/TD]
[TD]02/11/2017
[/TD]
[TD]Rodents
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]9[/TD]
[TD]23502-9
[/TD]
[TD]21/11/2017
[/TD]
[TD]Contract
[/TD]
[TD="colspan: 2"]Contract Routine
[/TD]
[/TR]
[TR]
[TD="align: center"]10[/TD]
[TD]23502-10
[/TD]
[TD]18/01/2018
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]11[/TD]
[TD]23509-3
[/TD]
[TD]04/04/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]12[/TD]
[TD]23509-4
[/TD]
[TD]13/04/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]13[/TD]
[TD]23509-5
[/TD]
[TD]07/06/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]14[/TD]
[TD]23509-6
[/TD]
[TD]12/07/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]15[/TD]
[TD]23509-7
[/TD]
[TD]29/08/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
This example is an extract of a larger spreadsheet with much more data variations in the descriptions in columns C and D.
If someone could give me the formula I need to enter in cells G3:K4, that gives me the date occurrences I need, I would be most grateful.
Forgive me if I have not got the forum etiquette or format correct. I am new to this. Any advice would be welcome.
Thank you.
I have outlined the problem below:
[TABLE="width: 822"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[TD="align: center"]I[/TD]
[TD="align: center"]J[/TD]
[TD="align: center"]K[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD]Job number
[/TD]
[TD]visit date
[/TD]
[TD]Job type
[/TD]
[TD]Status
[/TD]
[TD][/TD]
[TD]
[/TD]
[TD]1st
[/TD]
[TD]2nd
[/TD]
[TD]3rd
[/TD]
[TD]4th
[/TD]
[TD]5th
[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD]23502-3
[/TD]
[TD]04/04/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[TD]
[/TD]
[TD]1
[/TD]
[TD]2
[/TD]
[TD]3
[/TD]
[TD]4
[/TD]
[TD]5
[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD]23502-4
[/TD]
[TD]13/04/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[TD]23502
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD]23502-5
[/TD]
[TD]07/06/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[TD]23509
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD]23502-6
[/TD]
[TD]12/07/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD]23502-7
[/TD]
[TD]29/08/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[TD="colspan: 6"]For each 'job number' entered in column 'F', I want to insert the 1st, 2nd, 3rd etc occurrences of 'visit date' (Column 'B'), that relates to 'Job numbers' in column 'A', into cells under columns 'G3:K4'. However, only if they match the 'Job Type' "Contract" (Column 'C') AND the 'Status' "Visit Completed" (Column 'D').
I have tried the function 'SMALL' withmultiple 'IF' statements, but can't get it to work.
[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD]23502-8
[/TD]
[TD]11/10/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD]s23502-8(1)
[/TD]
[TD]02/11/2017
[/TD]
[TD]Rodents
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]9[/TD]
[TD]23502-9
[/TD]
[TD]21/11/2017
[/TD]
[TD]Contract
[/TD]
[TD="colspan: 2"]Contract Routine
[/TD]
[/TR]
[TR]
[TD="align: center"]10[/TD]
[TD]23502-10
[/TD]
[TD]18/01/2018
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]11[/TD]
[TD]23509-3
[/TD]
[TD]04/04/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]12[/TD]
[TD]23509-4
[/TD]
[TD]13/04/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]13[/TD]
[TD]23509-5
[/TD]
[TD]07/06/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]14[/TD]
[TD]23509-6
[/TD]
[TD]12/07/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]15[/TD]
[TD]23509-7
[/TD]
[TD]29/08/2017
[/TD]
[TD]Contract
[/TD]
[TD]Visit completed
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
This example is an extract of a larger spreadsheet with much more data variations in the descriptions in columns C and D.
If someone could give me the formula I need to enter in cells G3:K4, that gives me the date occurrences I need, I would be most grateful.
Forgive me if I have not got the forum etiquette or format correct. I am new to this. Any advice would be welcome.
Thank you.