Number of weeks between two dates to nearest half week

smods

Board Regular
Joined
Feb 18, 2008
Messages
79
Office Version
  1. 365
Platform
  1. Windows
Hello!

I know you cannot split a week in half as such but is there a way to calculate the number of weeks between two dates to the nearest half week?

=ROUND((F11-F10)/7,2)

Using this returns the 28.4 in my current example but I would want 28.5

Hope that makes sense and thank you for your help in advance as always!
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Maybe
Excel Formula:
=CEILING((F11-F10)/7,0.5)
 
Upvote 0
Try using the MROUND function, maybe, i.e.
Excel Formula:
=MROUND((F11-F10)/7,0.5)
 
Upvote 0
Solution
Just note there is a difference to the solutions proposed.

The CEILING function will ALWAYS round up to the next nearest multiple.
The MROUND function will round to the next nearest multiple (up or down).

If the value was 1.1, CEILING would return 1.5 and MROUND would return 1.

Use whichever one does what you want.
 
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,935
Members
449,094
Latest member
teemeren

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