Week Number based on Day. (Based on United States Government Fiscal Year)

CubeMonkey

New Member
Joined
Nov 7, 2022
Messages
12
Office Version
  1. 365
Platform
  1. Windows
🤓 Good day my fellow nerds,

Today I need guidance on how to figure out the Week Number based on the day.

Let me breakout a list of things you will need to know:
- The Week # being displayed will be based on the United States Government Fiscal Year 2023 which is: 1st quarter: 1 October 2022 – 31 December 2022.
- The Week # Cell will need to pull from the date Cell
- The Week # will need to be able to start over automatically, for example: After Week 52 will go back to Week 1 to start over.

*See attached picture for reference.

Any help or guidance?

P.S. If you read this, please leave a Banana in the post thread to show your support. I am just a Monkey stuck a cubicle in CubeCity. Feel the pain? Feed the Monkey! 🍌 (<---Copy and Paste to feed the beast!)

-CubeMonkey🐒
 

Attachments

  • Week View.PNG
    Week View.PNG
    5.9 KB · Views: 14

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Assuming that your date is in cell P3 try this formula:
Excel Formula:
=ROUNDUP((P3-IF(AND(MONTH(P3)<10,MONTH(P3)>=1),DATE(YEAR(P3)-1,10,1),DATE(YEAR(P3),10,1))+1)/7,0)
 
Upvote 0

Forum statistics

Threads
1,215,073
Messages
6,122,976
Members
449,095
Latest member
Mr Hughes

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