Table question

Mark O'Brien

MrExcel MVP
Joined
Feb 15, 2002
Messages
3,530
OK, I'm trying to put the following table in Excel into Access. I'm creating a database that's going to last me and my section until I retire. :wink:

I need help, what's the best way to put this info into a table? Right now, all I can see is it put in fields for every heading, i.e.

ECONOMIZER INLET PH CONTINUOUSLY MONITORED
ECONOMIZER INLET PH ALARMED
ECONOMIZER INLET PH Out of service hours
...etc etc

Is there maybe a clever way that I can do this with more than 1 table?

Thanks
Book1
ABCDEF
1Continuously Monitored?Alarmed?Trended?Out of service hours
2SAMPLE LOCATIONANALYZER
3ECONOMIZER INLETPHYes/NoYes/NoYes/NoNumber
4SPECIFIC CONDUCTIVITY
5DEAERATOR INLETDISSOLVED OXYGEN
6CLEANUP EFFLUENTCATION CONDUCTIVITY
7SODIUM
...
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
I guess that I'm not following how your data works. Above your example, you don't list the second column, and the first column has a blank in it...care to explain a bit more?
 
Upvote 0
On 2002-12-17 12:30, Russell Hauf wrote:
I guess that I'm not following how your data works. Above your example, you don't list the second column, and the first column has a blank in it...care to explain a bit more?

Surely can. It's a messed up table. I'm probably looking at about 60 different analyser. Realistically the whole identifier for the analyser is given by combining the sample location with the analyser type. (as shown below.)

Now, for each analyser, I don't want to know what the readings are. All I want to know is if the plant has this particular analyser then:

1. Does the analyser continuously monitor?
2. Is it alarmed in the control room?
3. Is it trended it the control room?
4. If it is out of service, how many hours is it out of service for. (Total for the quarter.)

If the plant doesn't have the analyser then everything is going to be set to "no". The whole point of this database is going to be benchmarking our plants ability to control their processes.
Book1
ABCDE
1ANALYZERContinuously Monitored?Alarmed?Trended?Out of service hours
2ECONOMIZER INLET PHYes/NoYes/NoYes/NoNumber
3ECONOMIZER INLET SPECIFIC CONDUCTIVITYYes/NoYes/NoYes/NoNumber
4DEAERATOR INLET DISSOLVED OXYGENYes/NoYes/NoYes/NoNumber
5CLEANUP EFFLUENT CATION CONDUCTIVITYYes/NoYes/NoYes/NoNumber
6CLEANUP EFFLUENT SODIUMYes/NoYes/NoYes/NoNumber
...


EDIT:: What I'm trying to avoid is having one table with about 240 fields. I can handle 4 tables of 60 fields, if need be, but this seems redundant really. Just a smart way to avoid a 240 field table would be lovely. I'm toying with the idea of using one field and using binary to represent the first three things:
e.g. 111 would be continuouly monitored, alarmed and trended in the control room. This would work out lovely. However, I'm inexperienced with Access and db's in general. If there's any other tricks I can use that'd be great.
_________________<font color = green> Mark O'Brien </font>

Columbus Ohio Celtic Supporters Club
This message was edited by Mark O'Brien on 2002-12-17 16:38
 
Upvote 0
Ok, I think that I understand. But before we go further, I want to make sure (I'm sure that you understand). :biggrin:

So you have several LOCATIONs, and each LOCATION can have up to 60 ANALYZERS?

So where you had the space above, it was still the ECONOMIZER INLET location, but was just a different analyzer?

Sorry Mark, and thanks for bearing with me.

-Russell
 
Upvote 0
Oh, and is there a fixed set of analyzers (like a master set)? Not that each location would have one, but is there a global set that wouldn't change?
 
Upvote 0
No, there are multiple locations and each analyser at each location is going to have to be treated as a separate data point. i.e. there are 4 analysers at the Economiser inlet, pH, dissolved oxygen and two others. However, at some locations we're just looking at Sodium. At others we're looking at pH and Sodium. So unfortunately there's no easy way out to have a table with the analysers to group them by location. I think that makes it clearer. (in my head anyway)

EDIT:: Just re-read your last post. Technically there is a set list of analysers, maybe 5 or 6, I'll need to count. But there is a sort of randomness to analysers at each location.
This message was edited by Mark O'Brien on 2002-12-18 16:03
 
Upvote 0
Well, I can't think of anything (I even wrote some stuff down) that will give you a big advantage. I think the way you have it, as long as you have Location filled in in each row, will be able to be queried just fine. You could get very fancy/technical and have one table with a locationID and locationName, and one with AnalyzerID and AnalyzerName, and then use the ID's in your main table to save space, but I don't think you really need to do that.

Sorry that this took so long,

Russell
 
Upvote 0
No problems, posting here let me think about it more. I don't like my binary idea so much because it will make querying a pain in the buttocks. One it's set up I wont care what the tables look like so much, unless I ever have to change the design.

Thanks again.
 
Upvote 0

Forum statistics

Threads
1,221,498
Messages
6,160,161
Members
451,627
Latest member
WORBY10

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top