Calculating the number of 15 min increments between two dates and weeks

JosieJosie02

New Member
Joined
Jul 26, 2022
Messages
6
Office Version
  1. 2016
Platform
  1. Windows
I can't figure out what I am doing wrong, 2 different answers.

Can someone please help me?

I have a start date and end date, Hours/Per week, the number of weeks between the start and end dates, the number of months, and a total.

Number of days is calculated =DATEDIF(A2,B2,"D")

Number of weeks is calculated =WEEKNUM(D2)

Number of months is calculated =DATEDIF(A2,B2, "M")

Number of 15 min increments for number of days and weeks is calculated =(C2*4*E2)


A
Start Date
B
End Date
C
Hours / Week
D
Days
E
Calc Weeks
F
Months
G
Unit Value
H
Unit
I
TOTAL
6/1/20225/31/202324364521115Minute4992correct hours/week but wrong total
6/1/20225/31/202323.079364521115Minute4800Correct total but with wrong hours per week
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Calculating the number of 15 min increments between two dates and weeks
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
DATEDIF "Calculates the number of days, months, or years between two dates."
364 Days exclusive or should that be 365 days?
Same question for Months.
Review your Units of measures through your calculations.
 
Upvote 0

Forum statistics

Threads
1,214,515
Messages
6,119,973
Members
448,933
Latest member
Bluedbw

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