how to average time data in a new column

Sticky Pete

New Member
Joined
Feb 23, 2016
Messages
3
Hello. I have a large data-set (part of which is shown below) and am trying to take the daily average of each column and export it to another sheet (example shown further below). I would assume VBA is the only way to do this, but I'm rather new to excel coding and am not sure how to go about this particular issue, any advice would be appreciated, thanks.

10/4/14 12:00 AM0.0115.942393.0
10/4/14 12:15 AM0.0115.912411.0
10/4/14 12:30 AM0.0115.852429.0
10/4/14 12:45 AM0.0115.82442.0
10/4/14 1:00 AM0.0115.772450.0
10/4/14 1:15 AM0.0115.712450.0
10/4/14 1:30 AM0.0115.672453.0
10/4/14 1:45 AM0.0115.632449.0
10/4/14 2:00 AM0.0115.612446.0
10/4/14 2:15 AM0.0115.572437.0
10/4/14 2:30 AM0.0115.542424.0
10/4/14 2:45 AM0.0115.52405.0
10/4/14 3:00 AM0.0315.82446.0
10/4/14 3:15 AM0.0316.112078.0
10/4/14 3:30 AM0.0216.241778.0
10/4/14 3:45 AM0.0216.271800.0
10/4/14 4:00 AM0.0216.271977.0
10/4/14 4:15 AM0.0516.512020.0
10/4/14 4:30 AM0.0717.251307.0
10/4/14 4:45 AM0.0817.12715.0
10/4/14 5:00 AM0.0716.98491.0
10/4/14 5:15 AM0.0616.89412.0
10/4/14 5:30 AM0.0516.85430.0
10/4/14 5:45 AM0.0316.82481.0
10/4/14 6:00 AM0.0316.77525.0
10/4/14 6:15 AM0.0216.7578.0
10/4/14 6:30 AM0.0216.66651.0
10/4/14 6:45 AM0.0316.68696.0
10/4/14 7:00 AM0.0316.72651.0
10/4/14 7:15 AM0.0216.72681.0
10/4/14 7:30 AM0.116.98495.0
10/4/14 7:45 AM0.0916.85359.0
10/4/14 8:00 AM0.0716.8374.0
10/4/14 8:15 AM0.0516.81401.0
10/4/14 8:30 AM0.0816.81426.0
10/4/14 8:45 AM0.1216.52238.0
10/4/14 9:00 AM0.0916.54275.0
10/4/14 9:15 AM0.0716.64311.0
10/4/14 9:30 AM0.0616.69370.0
10/4/14 9:45 AM0.0516.75443.0
10/4/14 10:00 AM0.0416.79520.0
10/4/14 10:15 AM0.0316.77594.0
10/4/14 10:30 AM0.0316.79676.0
10/4/14 10:45 AM0.0316.76760.0
10/4/14 11:00 AM0.0216.75849.0
10/4/14 11:15 AM0.0216.76929.0
10/4/14 11:30 AM0.0216.841002.0
10/4/14 11:45 AM0.0216.771077.0
10/4/14 12:00 PM0.0216.691154.0
10/4/14 12:15 PM0.0216.641228.0
10/4/14 12:30 PM0.0216.651304.0
10/4/14 12:45 PM0.0216.721371.0
10/4/14 1:00 PM0.0116.81437.0
10/4/14 1:15 PM0.0116.691497.0
10/4/14 1:30 PM0.0116.551543.0
10/4/14 1:45 PM0.0116.471591.0
10/4/14 2:00 PM0.0116.491638.0
10/4/14 2:15 PM0.0116.411676.0
10/4/14 2:30 PM0.0116.371718.0
10/4/14 2:45 PM0.0116.461759.0
10/4/14 3:00 PM0.0116.481795.0
10/4/14 3:15 PM0.0116.481832.0
10/4/14 3:30 PM0.0116.41867.0
10/4/14 3:45 PM0.0116.291894.0
10/4/14 4:00 PM0.0116.281919.0
10/4/14 4:15 PM0.0116.261935.0
10/4/14 4:30 PM0.0116.281951.0
10/4/14 4:45 PM0.0116.161970.0
10/4/14 5:00 PM0.0116.121986.0
10/4/14 5:15 PM0.0116.12000.0
10/4/14 5:30 PM0.0116.092013.0
10/4/14 5:45 PM0.0116.052020.0
10/4/14 6:00 PM0.0115.982032.0
10/4/14 6:15 PM0.0115.92044.0
10/4/14 6:30 PM0.0115.82053.0
10/4/14 6:45 PM0.0115.682066.0
10/4/14 7:00 PM0.0115.542076.0
10/4/14 7:15 PM0.0115.352089.0
10/4/14 7:30 PM0.0115.152096.0
10/4/14 7:45 PM0.0115.012104.0
10/4/14 8:00 PM0.0114.882112.0
10/4/14 8:15 PM0.0114.762125.0
10/4/14 8:30 PM0.0114.662131.0
10/4/14 8:45 PM0.0114.592136.0
10/4/14 9:00 PM0.0114.52139.0
10/4/14 9:15 PM0.0114.452147.0
10/4/14 9:30 PM0.0114.42156.0
10/4/14 9:45 PM0.0114.312163.0
10/4/14 10:00 PM0.0114.192170.0
10/4/14 10:15 PM0.0114.042176.0
10/4/14 10:30 PM0.0113.862181.0
10/4/14 10:45 PM0.0113.782187.0
10/4/14 11:00 PM0.013.692190.0
10/4/14 11:15 PM0.013.62195.0
10/4/14 11:30 PM0.013.482200.0
10/4/14 11:45 PM0.013.382204.0
10/5/14 12:00 AM0.013.342207.0
10/5/14 12:15 AM0.0113.272216.0
10/5/14 12:30 AM0.013.192224.0
10/5/14 12:45 AM0.013.122233.0
10/5/14 1:00 AM0.013.082241.0
10/5/14 1:15 AM0.013.022247.0
10/5/14 1:30 AM0.012.962252.0
10/5/14 1:45 AM0.012.882258.0
10/5/14 2:00 AM0.012.82261.0
10/5/14 2:15 AM0.012.712265.0
10/5/14 2:30 AM0.012.622266.0
10/5/14 2:45 AM0.012.532264.0
10/5/14 3:00 AM0.012.482262.0
10/5/14 3:15 AM0.012.422262.0
10/5/14 3:30 AM0.012.322265.0
10/5/14 3:45 AM0.012.272266.0
10/5/14 4:00 AM0.012.172269.0
10/5/14 4:15 AM0.012.122273.0
10/5/14 4:30 AM0.012.092274.0
10/5/14 4:45 AM0.012.032280.0
10/5/14 5:00 AM0.011.962283.0
10/5/14 5:15 AM0.011.872280.0
10/5/14 5:30 AM0.011.792275.0
10/5/14 5:45 AM0.011.712273.0
10/5/14 6:00 AM0.011.622275.0
10/5/14 6:15 AM0.011.542283.0
10/5/14 6:30 AM0.011.552283.0
10/5/14 6:45 AM0.011.512290.0
10/5/14 7:00 AM0.011.472293.0
10/5/14 7:15 AM0.011.462296.0
10/5/14 7:30 AM0.011.462294.0
10/5/14 7:45 AM0.011.472295.0
10/5/14 8:00 AM0.011.492294.0
10/5/14 8:15 AM0.011.52292.0
10/5/14 8:30 AM0.011.552289.0
10/5/14 8:45 AM0.011.582292.0
10/5/14 9:00 AM0.011.642291.0
10/5/14 9:15 AM0.011.722291.0
10/5/14 9:30 AM0.011.772293.0
10/5/14 9:45 AM0.011.822295.0
10/5/14 10:00 AM0.011.922300.0
10/5/14 10:15 AM0.012.052305.0
10/5/14 10:30 AM0.012.172313.0
10/5/14 10:45 AM0.012.272326.0
10/5/14 11:00 AM0.012.542335.0
10/5/14 11:15 AM0.012.632338.0
10/5/14 11:30 AM0.012.812342.0
10/5/14 11:45 AM0.013.062339.0
10/5/14 12:00 PM0.013.312334.0
10/5/14 12:15 PM0.013.312329.0
10/5/14 12:30 PM0.013.432324.0
10/5/14 12:45 PM0.013.542324.0
10/5/14 1:00 PM0.013.622324.0
10/5/14 1:15 PM0.013.822322.0
10/5/14 1:30 PM0.013.952317.0
10/5/14 1:45 PM0.013.972315.0
10/5/14 2:00 PM0.013.922311.0
10/5/14 2:15 PM0.013.932310.0
10/5/14 2:30 PM0.014.012309.0
10/5/14 2:45 PM0.014.132304.0
10/5/14 3:00 PM0.014.142302.0
10/5/14 3:15 PM0.014.162299.0
10/5/14 3:30 PM0.014.222300.0
10/5/14 3:45 PM0.014.22296.0
10/5/14 4:00 PM0.014.162299.0
10/5/14 4:15 PM0.014.022297.0
10/5/14 4:30 PM0.013.82300.0
10/5/14 4:45 PM0.013.672304.0
10/5/14 5:00 PM0.013.572307.0
10/5/14 5:15 PM0.013.532310.0
10/5/14 5:30 PM0.013.522314.0
10/5/14 5:45 PM0.013.462315.0
10/5/14 6:00 PM0.013.42321.0
10/5/14 6:15 PM0.013.332323.0
10/5/14 6:30 PM0.013.292326.0
10/5/14 6:45 PM0.013.182328.0
10/5/14 7:00 PM0.013.072329.0
10/5/14 7:15 PM0.013.042332.0
10/5/14 7:30 PM0.013.042335.0
10/5/14 7:45 PM0.013.022337.0
10/5/14 8:00 PM0.012.932336.0
10/5/14 8:15 PM0.012.832338.0
10/5/14 8:30 PM0.012.732337.0
10/5/14 8:45 PM0.012.62342.0
10/5/14 9:00 PM0.012.512345.0
10/5/14 9:15 PM0.012.382348.0
10/5/14 9:30 PM0.012.292354.0
10/5/14 9:45 PM0.012.222361.0
10/5/14 10:00 PM0.012.172364.0
10/5/14 10:15 PM0.012.112370.0
10/5/14 10:30 PM0.012.12364.0
10/5/14 10:45 PM0.012.042362.0
10/5/14 11:00 PM0.012.022369.0
10/5/14 11:15 PM0.011.992374.0
10/5/14 11:30 PM0.011.952373.0
10/5/14 11:45 PM0.011.922373.0
10/6/14 12:00 AM0.011.92372.0

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>


10/4/2014#DIV/0!15.983229181575.78125
10/5/2014#DIV/0!12.696875072304.65625
10/6/2014#DIV/0!12.9393752342.354167

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

FlameRetired

Active Member
Joined
Feb 19, 2016
Messages
339
Office Version
  1. 365
  2. 2007
Platform
  1. Windows
Or if you prefer a formula approach with target dates in F1:F3 and this formula in say G1:I3
Code:
=AVERAGEIFS(B$1:B$193,$A$1:$A$193,">="&$F1,$A$1:$A$193,"<"&($F1+1))

Row\Col
F​
G​
H​
I​
1​
10/4/2014​
0.023646​
15.98323​
1575.781​
2​
10/5/2014​
0.000104​
12.69688​
2304.656​
3​
10/6/2014​
0​
11.9​
2372​
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,167,651
Messages
5,854,954
Members
431,689
Latest member
jacker01

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
Top