need an average over 24 hours

B

bob

I need help in trying to set up a work sheet that will keep track of an
average. I also need to know what I have to maintain to get the average I
am looking for. Example: I need to average .075 over a 24 hour period, lets
say that I have 12 hours of data, i need to know what I have to average the
remaining hours to get my .075. I enter the hourly numbers myself.
 
J

joel

You average of 24 hours is adding 24 samples and dividing by 24

MyAverage = Sum(Range("A1:A24")/24

So you want MyAverage > .075

Now if you have 8 hours of data
MyAverage = Sum(Range("A1:A8")/8

The average you would need to maintain over the next 16 hours would be

..075 = (Sum(Range("A1:A8") + Uncollected_Data)/24

..18 - Sum(Range("A1:A8") = Uncollected_Data

Your avarage samples for the next 16 hours will be
Uncollected_Data/16
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top