I have electric meter readings which for one meter can go like this:
10/10 99509
10/17 704
10/24 1513
The meter tops out at 100000 and then starts over so the actual difference between 1195 ((100000-99509)+ 7040. I need to calculate this for almost 20 meters and I tried using a min/max difference but this will not work when the meter rolls over.
I am stymied. I do not know how to do this with a query and thought an array might be the answer but I don't know. Any help would be greatly appreciated.
10/10 99509
10/17 704
10/24 1513
The meter tops out at 100000 and then starts over so the actual difference between 1195 ((100000-99509)+ 7040. I need to calculate this for almost 20 meters and I tried using a min/max difference but this will not work when the meter rolls over.
I am stymied. I do not know how to do this with a query and thought an array might be the answer but I don't know. Any help would be greatly appreciated.