Financial Year week number with a twist

Glenno557

New Member
Joined
Sep 28, 2020
Messages
14
Office Version
  1. 2013
Platform
  1. Windows
Hi all, I use ISOWEEKNUM to calculate the week of the financial year but it needs to be tweaked which is beyond my skills. I don't know if there is a more suitable formula for this problem.
The weeks are from Monday to Sunday, and 1st July is not necessarily day 1 of week 1. For July 2024 the 1st of July is Saturday, and week 1 finishes on Sunday 2nd July, with Monday 3rd July being the first day of week 2.
As an example, for FY2023-24 I use ISOWEEKNUM-175, which works perfectly until the completion of week 52, when the week number reverts to 1 instead of 53 from 24/06/2024 onwards. I need more arguments in my formula, but so far have been unable to come up with a solution?
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Try this:


Mr excel questions 48.xlsm
AB
1Day Dateweeknumber
2Fri 2023/06/300
3Sat 2023/07/010
4Sun 2023/07/020
5Mon 2023/07/031
6Tue 2023/07/041
7Wed 2023/07/051
8Thu 2023/07/061
9Fri 2023/07/071
10Sat 2023/07/081
11Sun 2023/07/091
12Mon 2023/07/102
13Tue 2023/07/112
14Wed 2023/07/122
15Thu 2023/07/132
16Fri 2023/07/142
17Sat 2023/07/152
18Sun 2023/07/162
19Mon 2023/07/173
20Tue 2023/07/183
21Fri 2024/06/1450
22Sat 2024/06/1550
23Sun 2024/06/1650
24Mon 2024/06/1751
25Tue 2024/06/1851
26Wed 2024/06/1951
27Thu 2024/06/2051
28Fri 2024/06/2151
29Sat 2024/06/2251
30Sun 2024/06/2351
31Mon 2024/06/2452
32Tue 2024/06/2552
33Wed 2024/06/2652
34Thu 2024/06/2752
35Fri 2024/06/2852
36Sat 2024/06/2952
37Sun 2024/06/3052
38Mon 2024/07/0153
Glenno557
Cell Formulas
RangeFormula
B2:B38B2=NETWORKDAYS.INTL(DATE(2023,7,1),A2,"0111111")
 
Upvote 0
Thanks a lot for replying awoohaw but it's not quite there - I need 1st and 2nd of July to be week 1, with 3rd July the first day of week 2. 24th June 2024 to 30th June 2024 will be week 53. I've been playing with this formula but, as I don't understand the logic, I'm not getting it right.
 
Upvote 0
Try this

Book1
AB
1Day DateWeeknumber
27/1/20231
37/2/20231
47/3/20232
57/4/20232
67/5/20232
77/6/20232
87/7/20232
96/23/202452
106/24/202453
116/30/202453
Sheet1
Cell Formulas
RangeFormula
B2:B11B2=NETWORKDAYS.INTL(DATE(2023,7,-6),A2,"0111111")
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,287
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top