Also, I dont need to fix anything, my code works, dont try and sound above me just because you want to be a jerk. You didnt help at all, its not my fault you couldnt figure out what I was asking. I explained it pretty clearly, you just wanted to make me feel stupid. I obviously knew how to add up 24 numbers and divide by 24, all I was asking for was how to make it happen at midnight, while displaying a running average. If your so smart you should have seen my question right away and just answered that instead of asking me questions I had already answered.