Well, c102 to c114 is data composing the difference between two weeks
of mileages of a vehicles. Every week, new mileage will be put in and
C1xx will be updated. Until the end of the quarter, some of the cells
will be blank. I'm trying to get a running total of weekly averages
that a vehicle puts on. Let me give you an example.
C4 through c59 is the actual mileage per week, entered every week. So
until that actual week comes, the cell for that week remains blank.
Because I need to find the difference between one week and its
previous week (the total miles it put on that week), I need to create
another weekly chart showing the difference between the weeks. That
consists of c63 to c114. Split into quarters, I'm dealing with the 4th
quarter of the year (c102 to c114).
In order to get weekly averages, I need to average those weeks.
However, I run into a problem where on the cusp of figuring out how
many miles a vehicle put on, it takes data from a week with 0 miles
(the next week, which hasn't happened yet) and subtracts it from the
current week, leaving me with something like -167,548 miles for that
week. I need to remove that number in order to get an accurate
average. Likewise, if I don't get mileage for one week, but do get it
the next week, I'll end end up getting 167,548 miles for that one
week. Again, that screws up the average.
Hence, I need to check to make sure that there are no zeros being used
in the averaging function (creating those wildly high or negative
numbers).
Hope this makes sense.
Dave