Calculating the week number when you have a fiscal year starting in May

louise_hegedus

New Member
Joined
Jun 12, 2018
Messages
3
Hi - I am looking for a simple formula to work out the week number for my dates in our fiscal year.
Column A is a range of different dates for the last 3 years
For example= A1 is 01/5/2016 I want it to return in cell B1 the week number 1

Any help would be great!

Thanks!!!
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
In the subject you state your fiscal year begins in May, but in the body you are asking for January to be week 1.

Does May matter, or are you simply looking for the week number?

Code:
=WeekNum(a1,1)

Where A1 is your date and 1 is the week beginning on Sunday.
 
Upvote 0
Hi,

Try this:


Book1
ABC
15/1/20161
Sheet77
Cell Formulas
RangeFormula
C1=WEEKNUM(A1)-WEEKNUM(EOMONTH(A1,-1)-6)
 
Upvote 0
@ jtakw:

Your solution returns 1 for the first day of every month after May and negative numbers for January.

Here is my take on the fiscal year week number problem:

=ROUNDDOWN((A1+7-WORKDAY.INTL(DATE(YEAR(A1)-(MONTH(A1)<5),5,2),-1,"1111110"))/7,0)
 
Upvote 0
Thanks Tetra, for some reason, I was Only thinking May 1st at the time...:confused:
 
Upvote 0
Thanks Tetra! This worked perfectly!

Just looking at the data again, I think instead of doing up to 52/53 weeks for the year I just need to show how many weeks for that quarter.
So for example:
Q1 = May - July (14 weeks based off the formula above)
Q2 = August - October (X weeks)
Q3 = November - Jan
Q4= Feb - April

Any help for this formula would be amazing! Thanks!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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