General :: Denormalizing Data For Easy Analysis In Excel
Jun 19, 2013
I have a quality control database that has a QCEntry table that contains information about each sample the QC technician takes from production. This table has a one to many relationship with the TestResults table, where the tests performed on the sample and their results are stored.
QCEntry table is structured like
Code:
EntryID Product Lot Number Day Time
1 AB-500 121323 12/23 5:00
TestResults table is like
Code:
ResultID Entry ID TestName TestResult
1 1 Carbonblack 50
2 1 MFI 10
My question is: Is there a way modify large amounts of data like this using a query or some other method to look like this? Kind of denormalizing the tables?
Code:
Product Lot Number Day Time Carbonblack MFI
AB-500 12323 12/23 5:00 50 10
View Replies
ADVERTISEMENT
Aug 27, 2013
I have a larget transaction data set in access with Datetime column/filed.
I have been running pivot queries to excel to do analysis of the data but the datetime field is returning too many unique values for the pivot table to run.
What is the best way to reduce the datatime field to date only and where should this be done?
i.e. should I have a calculated field that trims datetime or should I set someohting up in Powerpivot?
View 7 Replies
View Related
Dec 2, 2005
Hi,
What I have to do is import dbf files, massage the data, and then export them out again as an xls or dbf. I have a Main table that is imported that contains the company_id, address, city, etc. There is one record per company_id in this table. Then I import another table called Person which contains only the company_id, contact name, and contact title. There are several records per company_id in this table. There could be upwards of 100 contact names for one company_id, each dbf is different. I then combine both of these tables into a new table or query using the company_id as the Primary Key. Most of our customers request that we flatten the personnel into the Main table so there are no duplicate company_ids and all the data for a company is in one record. That's why I have to figure this out. Right now my company uses an old FoxPro in-house written program to flatten the personnel file. I am trying to convert us to Access and Excel for work order purposes. I have found some code to help me do this, but I am having trouble modifying it to fit my needs. I am attaching a small mdb that contains the table that I need to flatten and a module with the modified code. Could someone please take a look at the code and tell me what I am doing wrong. I am new to VB and not too sure of what I am doing. I need the contact names and titles to have Person01, Title01, Person02, Title02, etc. as the field names. Thanks for any help given.
View 3 Replies
View Related
Sep 2, 2004
Is there any way to take a "denormalize" it on a report. I have a two table that have a many to many relation, say companies and projects. I want to show a report that shows the company name and next to that row shows "Project A, Project B, Project F".
View 3 Replies
View Related
Oct 21, 2012
how i can export the data from Access to excel using Access VBA for the specified sheet using data linkage with access database. Like we used to do it manually in excel as external data from access.Like we have some codes for linking excel file to database mentioned below;
DoCmd.TransferSpreadsheet acLink, , "region", "F:DB PracticeBook1.xlsx", False, "region"
Can we have something like this to link database table in excel file automatically.So that the excel size won't be that big and also it saves processing time.
View 5 Replies
View Related
Apr 6, 2005
I work for a train maintenance company and to keep track of the defects we use access. Our data is stored in tables (eg unit1) and each defect is assigned a fault code (eg TRD.99). These codes are then used to report to our customer where errors our occuring on the trains.
There are 17 categories of code defined by the 3 letters at the start and the specific problem is stated by the digits. I need a method of tabulating the codes by unit number and a total given in another column. To do this I need a code to count the number of times each three letter code appears in the column of each units table and place the value in the corresponding column in the overview table. I then need a code to add up the total faults for each unit like the sum function in an excel spreadsheet. The final table should look something like this
Unit NoBOGTRD
30010 21
30020 17
30031 17
30040 4
30050 5
30061 18
30070 3
30081 7
30090 4
30110 0
30120 2
TOTAL3 98
Any help will be greatly appreciated
View 8 Replies
View Related
Aug 15, 2007
Is there an Add in for Microsoft access that will using a gui based method, run queries, set up automated reporting (task Scheduler) in an easy to administer method. Quest Toad has a new add in Toad for Data Analysis. I am looking for something similar for access. Right now I am doing this manually via creating macros, etc. But there really should be an easier way.
Thanks
View 1 Replies
View Related
Dec 27, 2014
I have a table [Control Table] with the fields [Date signed] and [outcome] date signed is formatted as dd/mm/yyyy and the outcome field is a drop down with the options granted, not granted ect
I am looking for a way to present the data using specific date ranges.
I have found 2 possible avenues;
Dcount in a select query:
w/c 01/04/2014 GRANTED: DCount("[Date signed]","[control table]","[Date signed]>=#04/01/2014# And [Date signed] <=#04/06/2014# And [Outcome]='Granted'")
w/c 01/04/2014 Not GRANTED: DCount("[Date signed]","[control table]","[Date signed]>=#04/01/2014# And [Date signed] <=#04/06/2014# And [Outcome]='Not Granted' And [Reason not granted]='Assessed'")
w/c 01/04/2014 Discharged: DCount("[Date signed]","[control table]","[Date signed]>=#04/01/2014# And [Date signed] <=#04/06/2014# And [Reason not granted]='Discharged'")
etc...
But I would need to create the multiple queries 52 times each for the different count value per week
My 2nd option
I have looked at crosstab query, but I cant find a way for it to list the specific dates I need it to query e.g from
01/04/2014 - 06/04/2014
07/04/2014 - 13/04/2014
14/04/2014 - 20/04/2014
etc...
Any tips on Data analysis? I have been able to perform the task previously in excel using If statements but we are now moving to access.
View 1 Replies
View Related
Sep 5, 2014
I work on a pre-created Access database, and the other day I was working on it, and was trying to export something to Excel to sort it and do some Pivot analysis.
Anyway, I must have pressed something, because now every time I open the database, rather than saying "record 1 of 20463" and showing the data from record 1, it shows "record 1 of 1" and all the data fields are blank. If I go to "Records" and "Show All Records" they'll all come up, but I don't want to have to do that every time, and as I import and export all the time, I'm worried that the next time I try it it'll mess up the years of data I have.
View 10 Replies
View Related
May 5, 2013
i have access 2013 and when i try to export data to excel with "Analyze data in excel" when the file is open i excel i get this error message file error: some data may have been lost". (and a whole row has not been export)
i tried to fix this file with excel open and repair option and i click on "extract data" but then i got this message;
Excel attempted to recover your formulas and values, but some data may have been lost or corrupted.
Excel found errors that may cause some recovered data to be put in the wrong cells.
View 10 Replies
View Related
Oct 24, 2012
1. how to transform excel data to access
2. how to create run time application : i tried it to make accde but no luck T_T "
View 4 Replies
View Related
Sep 13, 2012
How can I import data from excel to access, i have a huge file more then 5000 entries in there....
View 1 Replies
View Related
Dec 17, 2013
I have made a access database which captures new booking information and i then want to export this to a pre-existing excel doc which has formulas in which will work out how long it took my team to process it.
So my question really is to see if it possible to just keep adding data to an excel doc that i have created?
View 3 Replies
View Related
May 15, 2013
I have a Access DB created. I have a field, which is a dropdown list. The users can go in to a form and manually create a record into the table etc.
However, i've some data that I'd like to import into the DB.
This data is in Excel.
When i import the data, everything is fine but the column that has the information for the dropdown field does not import.
so to clarifiy, the field in the DB is a dropdown list.
the field in the Excel data is just a plain text entry.
is there somehow i can import this data?
View 4 Replies
View Related
May 2, 2014
I am trying to automatically import student data from excel into an access relational database structure to use the data to report progress in an ongoing manner.I have managed to import an excel sheet with the raw data and I analysed it through the wizard and have produced a clean relational database with the data.
I was wondering, now that I have the access database structure defined, is there a way to now import new data from another excel file (new data with same headers) to the newly created relational database? I was hoping to append to the existing data with only new data from the excel sheet.
I have an excel file with Student names and what units they are enrolled in. I also have fields where results are shown with the date. So the data looks like:
Joe Bloggs Unit1 PP 1-01-2013
Joe Bloggs Unit2 PP 1-01-2013
Joe Bloggs Unit3 PP 1-01-2013
I have attached a picture showing the structure of the relational database that works.
View 2 Replies
View Related
Jun 22, 2015
I am trying to transfer daily data that I get from three different queries all into one Excel sheet. I take it that you have to make one over-arching query which I have made called Awaiting Base.
View 4 Replies
View Related
Sep 11, 2014
I have a excel file and want a button in the sheet which would transfer a certain range of data in a defined excel sheet to an existing access db table. How to do about doing that.
View 5 Replies
View Related
Sep 9, 2014
I am working on a project where I need to upload selected data from multiple sheets of an excel file. Here is an example of what I want.
1. I want to create a table in Access with around 10 columns
2. Column 1 should be populated with the date field found in A2 cell of sheet 1 of the excel file
3. Column 2-5 should be populated with the columns B2-E200 in sheet 2 of the excel file.
4. Columns 6-7 would be populated based on values from columns 1-2 of the table. Basically Column 6 should be Column 1 date plus 60 days.
5. Column 8-10 would be user generated after the excel is imported and the user should have the ability to attach around 5 files to each row.
View 5 Replies
View Related
Nov 16, 2013
importing data from two excel sources to one table. I have a table with: Unit, Info1, info2, info3, info4, info5, info6, info7. I have been able to import from the first file which has all of the unit information-'info1-5'. I need to import another file to fill 'info6-7' based on specific unit numbers. I have created two excel tables the first with the headers "unit, info1-5" and the second with the headers "unit, info6-7." The first works fine and adds all the data I want it to, but when I try to do the same with the second it doesn't add any new data.I cannot add the last two fields to my first spread sheet because it would involve sorting through 700+ units and adding the data manually to 400+ of them.
View 3 Replies
View Related
Aug 18, 2015
In my Access Database, for each row, there are two queries I want to pull data from to give me the status of the item in the related columns. In Excel, I use one file with multiple tabs to vlookup the data. How would I accomplish this in Access?
For Example, Jacksonville has a value of Submitted in the Completed Checklist Column and Approved in the Parts List Column. These values currently come from two separate tables. How do I get my database table to update when the status changes for each of the columns?
View 1 Replies
View Related
May 11, 2015
Is there a way to import data to Excel from Access without retaining the link ?
I have a table and two queries (from that table) that I wish to export to a specific (Templated) Excel file.
I want to send the data to the Excel file then be able to subsequently copy and paste and email the file without any data connections etc.
Alternatively : to export from Access to the templated excel file.
View 2 Replies
View Related
Nov 7, 2013
In Access column name is STKITEMNBR and data type is TEXT. 4/5 of data are numeric and 1/5 are alfa-numeric. One of data was 15E10 in Access, but was altered to 1.50E+11 when exporting out to Excel csv file. Because it was Stock Item Number it needed to stay the same as 15E10 in csv file.
View 14 Replies
View Related
Aug 9, 2013
Need importing just 1 column from excel file into vba !
View 1 Replies
View Related
Aug 1, 2015
Attached in the ZIPPED file is an Excel spreadsheet.
Columns A is all numeric, and needs to be represented in access as a text field.
Column B is a mixed format of dates entered and in some instances only plain numeric. I need to import this column as is into a text field in access.
I tried importing the excel sheet, but the data gets changed.I tried to linked the Excel sheet but it also had an influence on the data.In both cases the influence of change is NOT throughout. Hence my need to get this spreadsheet into access as is.
View 7 Replies
View Related
Dec 18, 2013
I 'm downloading the excel data from the site and connecting it to access.
In excel the particular column (Time Taken) is in the format of "00:12:26".
After connecting it to access and appending it to the table, the format changed to "12:12:26", the first two digits changed to "12" and the remaining are as it is how it looks like in the excel. I need to change it to format what it looks like in the excel.
View 7 Replies
View Related
Mar 28, 2005
Here is what I want to do. I have a table called "TblRates" and in the table are two fields called "Description" and "Rate" the description field has data in it like "PC Repair", "Onsite Repair" and the "Rate" field has currency data "$50.00" and "75.00". I have a for called "FrmRates" and I want to be able to select "PC Repair" from the "description" field and have it auto fill "$50.00" into the "Rate" field and the same for "Onsite Repair" and have it bring up"$75.00". That is the best way I can describ it. I would like to either know a macro or somthing easy I can type in VB code which I know nothing about. Please Help
View 2 Replies
View Related