Trying to make a formula to figure out what total hours in the month will be, based on what I already know

kxellis26

New Member
Joined
Mar 11, 2022
Messages
32
Office Version
  1. 365
Platform
  1. Windows
I need a formula that gives me an assumption of what the total hours will be at the end of the month – here is a breakdown of what I have an what I need.



  • I have the dates, days of the week and total hours worked for each day
  • Column G is the dates – G3:G33
  • Column H is the day of the week – H3:H33
  • Column K is the hours worked – K3:K33
  • The only data that I have is what has already been worked – lets assume that I have data from the 1st through the 11th – now I want to know what the assumption is for the rest of the month, knowing what was working on the previous days of the week
  • The assumption should say – I know what was worked on the first 2 Mondays and since I know there are 2 more, the assumption is that the average of those first two Mondays should apply to the next 2 Mondays – the same thing for the rest of the days of the week
  • This will give us an assumption of what the total should be for the rest of the month and give a breakdown of that on cell K34
  • I know that the data will be off if there are zero hours in a day
  • I do not want to have to change this formula each day – it needs to be a running total, based on what we know
DateDayEnglish T1
11/1Fri24.10
11/2Sat0.00
11/3Sun0.00
11/4Mon24.20
11/5Tue24.03
11/6Wed24.29
11/7Thu24.07
11/8Fri24.48
11/9Sat0.00
11/10Sun0.00
11/11Mon24.32
11/12Tue24.61
11/13Wed23.08
11/14Thu16.06
11/15Fri0.00
11/16Sat0.00
11/17Sun0.00
11/18Mon0.00
11/19Tue0.00
11/20Wed0.00
11/21Thu0.00
11/22Fri0.00
11/23Sat0.00
11/24Sun0.00
11/25Mon0.00
11/26Tue0.00
11/27Wed0.00
11/28Thu0.00
11/29Fri0.00
11/30Sat0.00
Total233.24
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Try

Book2
ABC
1DateDayEnglish T1
21-NovFri24.1
32-NovSat0
43-NovSun0
54-NovMon24.2
65-NovTue24.03
76-NovWed24.29
87-NovThu24.07
98-NovFri24.48
109-NovSat0
1110-NovSun0
1211-NovMon24.32
1312-NovTue24.61
1413-NovWed23.08
1514-NovThu16.06
1615-NovFri24.29
1716-NovSat0.00
1817-NovSun0.00
1918-NovMon24.26
2019-NovTue24.32
2120-NovWed23.69
2221-NovThu20.07
2322-NovFri24.29
2423-NovSat0.00
2524-NovSun0.00
2625-NovMon24.26
2726-NovTue24.32
2827-NovWed23.69
2928-NovThu20.07
3029-NovFri24.29
3130-NovSat0.00
Sheet1
Cell Formulas
RangeFormula
C16:C31C16=AVERAGEIF($B$2:B15,B16,$C$2:C15)
 
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,299
Members
452,904
Latest member
CodeMasterX

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