I'm trying to create a spreadsheet that accepts data from a card reader and gives me information about after hours usage. This is for an office building where tenants can insert a card into a reader to keep the lights and A/C on after business hours.
The data the card reader provides is pretty messy. The entries in Column B that start with "CMO" are the tenants card usage. There is also janitorial usage, which I don't want to include. Out of the Column B entries that start with CMO, the ones that say ON and OFF in Column F are the time periods at which the card was inserted and removed, respectively.
Sometimes the card is left in during business hours, which I do not want to count. If the office opens at 8AM and the card goes in from 7-9AM, I only want to record one hour.
I'm not looking for someone to do this for me, I've been struggling with the appropriate approach and am looking for advice. I am trying to create a solution that is very simple and doesn't require much or any Excel knowledge to use. I was able to develop a rather ugly model that worked for everything except weekends (when there are no business hours) and times when the card was left in for >24 hours. I have a feeling there is a better way to deal with this. Any advice on an approach would be greatly appreciated.
Bookmarks