R
Ravenmike
I have a problem trying to normalize data that has been imported from an
Excel spreadsheet. I am hoping someone can point me in the right direction.
The sheet has a fuel type column, and a corresponding price per gallon(PPG)
column. There are 10 sets of these columns (Type 1-10 & PPG 1-10)
Each fuel "type" indicates a fuel quanity to be purchased to receive the
corresponding PPG.
Each record (vendor) has multiple types (Type 1 =1, Type 2=200), and each
vendor can be different...(Type 1 for vendor A could be 1 while Type 1 for
vendor B could be 200)
I am trying to set up a query that will show PPG comparisions between vendors
for a given "type", but the types vary greatly between vendors...and the
comparisons are not proper (apples to oranges)
For example:
Vendor Type1 PPG1 Type2 PPG2
A 1 2.00 100
1.95
B 200 1.95 400 1.
80
What can I do to normalize the data to allow for better reporting. The
vendors have already been set in a different table with a one to many
relationship...
Any help would be much appreciated.
Excel spreadsheet. I am hoping someone can point me in the right direction.
The sheet has a fuel type column, and a corresponding price per gallon(PPG)
column. There are 10 sets of these columns (Type 1-10 & PPG 1-10)
Each fuel "type" indicates a fuel quanity to be purchased to receive the
corresponding PPG.
Each record (vendor) has multiple types (Type 1 =1, Type 2=200), and each
vendor can be different...(Type 1 for vendor A could be 1 while Type 1 for
vendor B could be 200)
I am trying to set up a query that will show PPG comparisions between vendors
for a given "type", but the types vary greatly between vendors...and the
comparisons are not proper (apples to oranges)
For example:
Vendor Type1 PPG1 Type2 PPG2
A 1 2.00 100
1.95
B 200 1.95 400 1.
80
What can I do to normalize the data to allow for better reporting. The
vendors have already been set in a different table with a one to many
relationship...
Any help would be much appreciated.