Formula for calculating week of the month, but using first 7 days as week 1, next 7 days as week 2, etc...

seaottr

Board Regular
Joined
Feb 10, 2010
Messages
60
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi all,


I've found the formula to calculate the week of a month, but I'm looking for a formula that calculates days 1-7 of the month as Week 1, days 8-14 as Week 2, etc.


Is anyone able to help please?


Thank you in advance!
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Hi there. If your date is in K6 for instance, use this formula: =INT(DAY(K6)/7)+1
 
Upvote 0
Unfortunately that doesn't work. It's giving February 28, 2019 as week 5 (should be week 4), March 7, 2019 as week 2 (should be week 1)
 
Upvote 0
OK sorry me too hasty. This should do it: =INT((INT(DAY(K6)-1)/7)+1)
 
Upvote 0
You're welcome and thanks for the feedback and votes - it makes a difference when you know its been of use!
 
Upvote 0

Forum statistics

Threads
1,215,463
Messages
6,124,965
Members
449,201
Latest member
Jamil ahmed

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