Hello,
I have a report (shown below) for auditing pay periods and the date a lesson was graded. In column D the first entry is 9/19/2019 (in red). Based on a date in column D, I need to key in the appropriate start date (column F) and end date (column G) for the value in column D. This is presently a manual process where someone looks at the value in column D, and looks in column K and column L to find the correct date range. The 9/19/2019 date falls between the 9/10/2019 to 9/24/2019 date range (see blue dates in columns K and L. I would like to automate the process so that a formula in column F and G would eliminate the keying by calculating the proper dates. I've tried IF statements, but can't get it right. Any help would be appreciated. Sorry the formatting in my example is sub standard. A
[TABLE="width: 1198"]
<colgroup><col><col><col><col><col><col><col><col span="3"><col><col></colgroup><tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]K[/TD]
[TD]L[/TD]
[/TR]
[TR]
[TD]Student Name[/TD]
[TD]Course[/TD]
[TD]Lesson[/TD]
[TD]Date Graded[/TD]
[TD]Mark[/TD]
[TD]Start[/TD]
[TD]End[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Pay Periods
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Katz[/TD]
[TD]Math Integrated Math III (1-18)[/TD]
[TD]Unit 18: First Semester Final[/TD]
[TD]9/19/2019[/TD]
[TD]B [/TD]
[TD="align: right"]9/10 [/TD]
[TD]9/24[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Start[/TD]
[TD]End[/TD]
[/TR]
[TR]
[TD]Katz[/TD]
[TD]Math Integrated Math III (1-18)[/TD]
[TD]Unit 18: First Semester Final[/TD]
[TD]9/27/2019[/TD]
[TD]B+[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]8/10/2019[/TD]
[TD]8/24/2019[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]8/25/2019[/TD]
[TD]9/9/2019[/TD]
[/TR]
[TR]
[TD]Jones[/TD]
[TD]Math Integrated Math III (1-18)[/TD]
[TD]Unit 6: Functions[/TD]
[TD]9/17/2019[/TD]
[TD]D-[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]9/10/2019[/TD]
[TD]9/24/2019[/TD]
[/TR]
[TR]
[TD]Jones[/TD]
[TD]Math Integrated Math III (1-18)[/TD]
[TD]Unit 6: Functions[/TD]
[TD]9/27/2019[/TD]
[TD]D[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]9/25/2019[/TD]
[TD]10/9/2019[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]10/10/2019[/TD]
[TD]10/24/2019[/TD]
[/TR]
[TR]
[TD]Bonny[/TD]
[TD]MATH 170 (1-18)[/TD]
[TD]Unit 5: Exponents, Square Roots and Place Values[/TD]
[TD]9/12/2019[/TD]
[TD]F[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Bonny[/TD]
[TD]Math 170 (1-18)[/TD]
[TD]Unit 5: Exponents, Square Roots and Place Values[/TD]
[TD]9/26/2019[/TD]
[TD]F[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
I have a report (shown below) for auditing pay periods and the date a lesson was graded. In column D the first entry is 9/19/2019 (in red). Based on a date in column D, I need to key in the appropriate start date (column F) and end date (column G) for the value in column D. This is presently a manual process where someone looks at the value in column D, and looks in column K and column L to find the correct date range. The 9/19/2019 date falls between the 9/10/2019 to 9/24/2019 date range (see blue dates in columns K and L. I would like to automate the process so that a formula in column F and G would eliminate the keying by calculating the proper dates. I've tried IF statements, but can't get it right. Any help would be appreciated. Sorry the formatting in my example is sub standard. A
[TABLE="width: 1198"]
<colgroup><col><col><col><col><col><col><col><col span="3"><col><col></colgroup><tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]K[/TD]
[TD]L[/TD]
[/TR]
[TR]
[TD]Student Name[/TD]
[TD]Course[/TD]
[TD]Lesson[/TD]
[TD]Date Graded[/TD]
[TD]Mark[/TD]
[TD]Start[/TD]
[TD]End[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Pay Periods
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Katz[/TD]
[TD]Math Integrated Math III (1-18)[/TD]
[TD]Unit 18: First Semester Final[/TD]
[TD]9/19/2019[/TD]
[TD]B [/TD]
[TD="align: right"]9/10 [/TD]
[TD]9/24[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Start[/TD]
[TD]End[/TD]
[/TR]
[TR]
[TD]Katz[/TD]
[TD]Math Integrated Math III (1-18)[/TD]
[TD]Unit 18: First Semester Final[/TD]
[TD]9/27/2019[/TD]
[TD]B+[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]8/10/2019[/TD]
[TD]8/24/2019[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]8/25/2019[/TD]
[TD]9/9/2019[/TD]
[/TR]
[TR]
[TD]Jones[/TD]
[TD]Math Integrated Math III (1-18)[/TD]
[TD]Unit 6: Functions[/TD]
[TD]9/17/2019[/TD]
[TD]D-[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]9/10/2019[/TD]
[TD]9/24/2019[/TD]
[/TR]
[TR]
[TD]Jones[/TD]
[TD]Math Integrated Math III (1-18)[/TD]
[TD]Unit 6: Functions[/TD]
[TD]9/27/2019[/TD]
[TD]D[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]9/25/2019[/TD]
[TD]10/9/2019[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]10/10/2019[/TD]
[TD]10/24/2019[/TD]
[/TR]
[TR]
[TD]Bonny[/TD]
[TD]MATH 170 (1-18)[/TD]
[TD]Unit 5: Exponents, Square Roots and Place Values[/TD]
[TD]9/12/2019[/TD]
[TD]F[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Bonny[/TD]
[TD]Math 170 (1-18)[/TD]
[TD]Unit 5: Exponents, Square Roots and Place Values[/TD]
[TD]9/26/2019[/TD]
[TD]F[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]