4-4-5 Week Finance Calendar Identify

Shark00

New Member
Joined
Sep 1, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hey, we have a 4-4-5 week finance period structure.
Our Finance year runs Jan - Dec with a 4 week 4 week 5 week quarter
I'm building a model where the first month will change, based on our finance structure I want excel to tell me if it's a 4 or 5 week month, so to return "4" or "5" based on the month selected... any help is greatly appreciated

Example:
Model starts in March, I want it to let me know March is a 5 week month
 

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
Try this:

Book1
AB
1Month:2
2Number of weeks:4
Sheet1
Cell Formulas
RangeFormula
B2B2=4+(MOD(B1,3)=0)
Cells with Data Validation
CellAllowCriteria
B1List1,2,3,4,5,6,7,8,9,10,11,12
 
Upvote 0
That seems to only be returning "4"?

So January, February, April, May, July, August, October and November are 4 week months, March, June, September and December are 5 week months

If the source cell, which is a date, has a particular month in it, I'd like it to give me a 4 or 5, depending on which month is in the source cell...
 
Upvote 0
You might want to consider using a lookup table using the mont number (or better still a calendar table as you would do in Power BI), since every 5 or 6 years you will have an extra 5 week month to catch up for the fact that 4-4-5 comes to 364 days.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
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