I have a data that I need to sort out and I'm thinking of adding the following sheet to my workbook to assist so I'm looking for two formulas:
1. A formula to determine the week number based on my set of dates (Week Column). Week will always start on a Friday and end on a Thursday. So formula needs to work even if the first date is a Tuesday and not Friday. ie.
2. Formula is based on the results of of the Week column: I want to get the Start Date and End date of Week i.e.:
I hope that my request is clear.
1. A formula to determine the week number based on my set of dates (Week Column). Week will always start on a Friday and end on a Thursday. So formula needs to work even if the first date is a Tuesday and not Friday. ie.
Weekday | Date | Week |
Wednesday | 2020/07/01 | 1 |
Thursday | 2020/07/02 | 1 |
Friday | 2020/07/03 | 2 |
Saturday | 2020/07/04 | 2 |
Sunday | 2020/07/05 | 2 |
Monday | 2020/07/06 | 2 |
Tuesday | 2020/07/07 | 2 |
Wednesday | 2020/07/08 | 2 |
Thursday | 2020/07/09 | 2 |
Friday | 2020/07/10 | 3 |
Weekday | Date | Week |
Friday | 2022/07/01 | 1 |
Saturday | 2022/07/02 | 1 |
Sunday | 2022/07/03 | 1 |
Monday | 2022/07/04 | 1 |
Tuesday | 2022/07/05 | 1 |
Wednesday | 2022/07/06 | 1 |
Thursday | 2022/07/07 | 1 |
Friday | 2022/07/08 | 2 |
Saturday | 2022/07/09 | 2 |
Sunday | 2022/07/10 | 2 |
Monday | 2022/07/11 | 2 |
2. Formula is based on the results of of the Week column: I want to get the Start Date and End date of Week i.e.:
Week | Start Date | End Date |
1 | 2022/07/01 | 2022/07/07 |
2 | 2022/07/08 | 2022/07/14 |
3 | 2022/07/15 | 2022/07/21 |
4 | 2022/07/22 | 2022/07/28 |
5 | 2022/07/29 | 2022/08/04 |
6 | 2022/08/05 | 2022/08/11 |
7 | 2022/08/12 | 2022/08/18 |
8 | 2022/08/19 | 2022/08/25 |
9 | 2022/08/26 | 2022/09/01 |
10 | 2022/09/02 | 2022/09/08 |
I hope that my request is clear.