Creating a Report from Data

tes4444

New Member
Joined
Dec 7, 2007
Messages
14
I have a report that I create daily. I print a couple of reports from our AS400 and then I key select data from these reports and format it into a final report.

The data I key in is:
Employee Name
Date Worked
Pallets Dropped
Pallets PutAway
Hours Worked
Notes

My spreadsheet calculates Putaway rate, Drop rate and Consolidated rate from the information I've keyed.

I manually group the information so that the report is sorted by employee and then date and put in an underline for easier reading.

I want to both simplify the data entry and enhance the reporting.
I've created a userform that performs the data entry (thanks for the help from those here who gave advice on data validation).

My data tends to look like this once entered:
Excel Workbook
ABCDEF
1EmployeeDatePut AwayDroppedHours WorkedNotes
2Chapman12/21/200715788.5
3Harley12/21/20071110210.1
4Gonzalez12/21/2007118419.15
5Chapman12/22/20079967.9
6Munoz12/22/200722108.41
7Chapman12/23/200741369.27
8Gonzalez12/23/2007191078.2
9Munoz12/23/200718957.94
10Gonzalez12/24/20076816.45
11Harley12/24/200721087.18
12
13
Raw Data


What I want my finished report to look like from this data is this:

Excel Workbook
ABCDEFGHIJ
1Forklift Productivity Report
2
3EmployeeDatePut AwayDroppedTotalHours WorkedPut Away RateDrop RateConsolidated RateNotes
4Chapman12/21/20071578938.51.769.1810.94
5Chapman12/22/20079961057.91.1412.1513.29
6Chapman12/23/200741361409.270.4314.6715.10
7Gonzalez12/21/2007118411599.1512.904.4817.38
8Gonzalez12/23/2007191071268.22.3213.0515.37
9Gonzalez12/24/2007681876.450.9312.5613.49
10Harley12/21/20071110211310.11.0910.1011.19
11Harley12/24/200721081107.180.2815.0415.32
12Munoz12/22/200722102218.4126.280.0026.28
13Munoz12/23/200718951947.9423.800.6324.43
Finished Report


I'm at a near complete loss how to tell Excel to take some raw data and format it into a report. I want to be able to specify a date range for the report generated so that I may be only pulling a portion of my raw data into the finished report. I've created a userform to enter in my desired dates but that's where I hit the wall.

Is what I'm trying to do possible in Excel? If so, how should I accomplish it?

All help will be appreciated - I may have to ask questions about the simplest of things as I'm still very new to writing any sort of code.
 
When reporting you can display data exactly as you wish, so you first need to decide what you want to see. If it is for someone else, ask them what they want otherwise my experience shows they will not be interested - so you waste your time.

To get the results you are showing the simplest method would be to add some more columns to the data and sort it in place. Always keep to the simplest method.

Firstly, your base data is laid out as it should be to get full benefit of Excel's features. To take this matter further, and discover what Excel has to offer, explore the items in the Data menu - especially Autofilter and Pivot Tables. Often the ouput from these is all you need. If not, they save hours of time by analysing and summarising data for display in the final report.
 
Upvote 0
I would suggest looking at Advanced Filtering to do what you are after.
Good example of Advanced Filter steps here:
http://www.contextures.com/xladvfilter01.html

Another good link here:
http://www.meadinkent.co.uk/xlfilter.htm

Advanced Filter allows you to preset filter options.
It also allows you to filter by criteria in ways standard autofilter can not do. You can choose an export location in the dialog box or in VBA code.
Once you setup the code and criteria, you can use a macro button to copy data from your main sheet to another "Report" sheet.
 
Upvote 0
What about creating a report that includes data from the cells in various work sheets and the small embedded charts in those same worksheets?

Thanks,

Edward
 
Upvote 0

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