Formula to calculate fiscal year week based on date

mcheckai

New Member
Joined
Jun 23, 2014
Messages
5
Hello,

I have a two column spreadsheet, the first column contains a date and the second column should calculate the fiscal week for the date in the first column.

The fiscal year begins on 7/1 of each year and each week begins on Sunday.

The below formula is close but it calculates the fiscal week as 52 for 7/1/2000...it should be week 1.

=INT((A2-DATE(YEAR(A2+183),-5,-1))/7)

Your assistance is appreciated!
 
Try this too:

Code:
=INT((A2-("7/1/"&YEAR(A2)-(MONTH(A2)<7))+WEEKDAY("7/1/"&YEAR(A2)-(MONTH(A2)<7))-1)/7)+1

Markmzz
 
Upvote 0

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi Mcheckai,
i would like to ask if i hv a lot data in many many month and week......then if i only want to calculate the median of the last 4week data izzit possible or not??pls hlp me pls......
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,853
Members
452,361
Latest member
d3ad3y3

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