williamlove
Registered User.
- Local time
- Today, 06:08
- Joined
- Feb 9, 2006
- Messages
- 37
This is a real problem I'm working. I have not simplified it much...it is a simple problem already. My question is at the bottom in bold.
At the end of every week seven spreadsheets are provided each containing information about the number of alarms received each day. Three of the sheets are shown below to illustrate. I intend to import them into access and add up the totals of each alarm that appeared.
Sheet Monday
35 High Pressure
15 Low Flow
11 High pH
Sheet Tuesday
15 High pH
Sheet Wednesday
17 High Pressure
11 Low Level
19 Low Pressure
28 Low pH
10 Bad Quality
19 High Flow
There is no minimum or maximum number of rows in a sheet for a given day...it just depends on what happened that day. Typically several of the alarms appear every day while others appear only occasionally.
I want to add up the total number of occurrences of each alarm for the week. If an alarm appears even one day it would make the report. If an alarm occurred everyday the report would add them up and give the sum. (I say "report" but an Access table or Query would be okay.)
Can you explain how you would import the spreadsheets into a database and use SQL or some standard technique to do this?
It would be nice if the method was amenable to VBA automation because I hope to do that after I master the method from a manual standpoint.
At the end of every week seven spreadsheets are provided each containing information about the number of alarms received each day. Three of the sheets are shown below to illustrate. I intend to import them into access and add up the totals of each alarm that appeared.
Sheet Monday
35 High Pressure
15 Low Flow
11 High pH
Sheet Tuesday
15 High pH
Sheet Wednesday
17 High Pressure
11 Low Level
19 Low Pressure
28 Low pH
10 Bad Quality
19 High Flow
There is no minimum or maximum number of rows in a sheet for a given day...it just depends on what happened that day. Typically several of the alarms appear every day while others appear only occasionally.
I want to add up the total number of occurrences of each alarm for the week. If an alarm appears even one day it would make the report. If an alarm occurred everyday the report would add them up and give the sum. (I say "report" but an Access table or Query would be okay.)
Can you explain how you would import the spreadsheets into a database and use SQL or some standard technique to do this?
It would be nice if the method was amenable to VBA automation because I hope to do that after I master the method from a manual standpoint.