Find the average between two dates

cperra

New Member
Joined
Aug 3, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I have an operation report that gets checked once per week. I need to average hours used between two dates and spread that average data in the well-hour used empty cells between those dates. For example:
DateDayWell 1 Hours ReadWell Hour Used
4/30/2023Sunday
5/1/2023Monday22946.8
5/2/2023Tuesday
5/3/2023Wednesday
5/4/2023Thursday
5/5/2023Friday
5/6/2023Saturday
5/7/2023Sunday
5/8/2023Monday22953.8
5/9/2023Tuesday
5/10/2023Wednesday
5/11/2023Thursday
5/12/2023Friday
5/13/2023Saturday
5/14/2023Sunday
5/15/2023Monday22967.5
le:
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Just for clarification ... each time you have a reading listed you want to calculate the average between readings?
For example, you have a reading on 5/1 and on 5/8. therefore the Average calculation will be the difference between readings (22967.5 - 22953.8) divided by the number of days between readings?

Since there is not reading value, in your example , prior to 5/1 an average could not be calculated for 4/30 to 5/1.
Then a new average is calculated between 5/8 and 5/15.
Right?
 
Upvote 0
Yes in my example we want to calculate the average between the readings and put the average result in all of the blank cells between those two readings. The results would go in the well hour used cells between those two dates. Above that 5/1 reading I will start a new running sheet that will have data above that date.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,246
Members
452,623
Latest member
cliftonhandyman

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