Custom Lists Open a new file Enter dates (Jan 1998) in column 1, row 5 Enter numbers in column 2 row 1; first 1 and copy across row (result: all 1’s) Enter number interval in column 2 & 3 row 2; then copy across Do the same with interval of 5 (start 0 and 5) Do the same with a decimal (1.1 and 1.2) Open RawData File in Excel Dec-98 13&quot; Televisions $ 46 10 West Dec-98 CD Players $ 40 20 East Dec-98 CD Players $ 60 30 West Dec-98 800 MHz Computers $ 25 13 North Hand enter one line Use a data form to complete the rest
In days of e-mail attachments, you may receive files that are not already in Excel format, but which you need to “read” into Excel. Show on the File> Open dialog box, the File Types which can be imported Show a comma-delimited file: Budget Data Comma Delimited Save as Text only with line breaks Open in Excel (Note must close file in word first, or there will be an error) Show Word file with a table: RawData in Table Convert Table to Text Save as Text only with line breaks Import into Excel (Note must close file in word first, or there will be an error)
WORLD 1960 Sorting: Do several sorts; one level, two levels, three levels Filtering: for what-if operations: MAKE SURE A1 IS HIGHLIGHTED all regions =4 life expectancy =60 go back to “all” on life exp.; to do another filter >60 do several more to get rid of all filters: Data . . . Filter . . . Turn off autofilter Subtotals: Sort by region first: now in a group count number in each region ave life exp by region ave pop by region at each subtotal: remove all; or leave in by region show expand and collapse by region Some options: remove current and replace by new subtotals; put each group on a different page; summary below data Remove all - to go back to original
Open Canisius Electronics Name the Data Range because: Excel recognizes the data range for the pivot table updates can be made
Column: Product Row: Region Data: Gross Sales (Sum of)
Note: created in new sheet Show: Choosing only some products vs. all Choosing only some regions vs. all Drop Date in Page Field Choosing a particular date vs. All Show changing “statistic” to show: sum of sales vs. Average sales
Show multi field columns and rows: put region in column put date in rows Then show “putting them back”: drag field to Pivot Toolbar
Create a chart
Note: created in new worksheet Then “pivot” All as in Pivot Table Show putting date in page field Alter legend Alter axis Alter Value calculated
Are you losing detail? No, you can “drill down” to see the detail on which the summary is based. Click twice in the desired cell Note: the detail goes on a new worksheet; you can return to the pivot table Note: the database, or data mining terminology
Change jan 98 TV gross sales to 2025, number sold to 205 Return to Pivot table; position cursor; refresh data Add new data: it’s included in the range – one of the reasons we named it! But it will have to be re-sorted before we can refresh the pivot table data>sort> date, product Then refresh Pivot table
Data in Multiple Worksheets to be compared Example: separate budget sheets for each product compare over date range
User can create the “page field” names
To see each product separately, choose from the “Page Field” drop down list.
This can be done on the Pivot Table itself
Move Quarter field up to page field line Double click on it to rename to “Quarters” Show how to choose quarters and display data
Pivot Table formatting works the same as regular worksheet formatting Choose Toolbar buttons, or, for more options, click Format > Cells
Click one cell in the pivot table and then click format report from Pivot table toolbar for some autoformats Or highlight the whole Pivot table, click Format > Autoformat and apply a predesigned format
Data Handling in EXCEL C.V. Suresh Babu
Topics <ul><li>Data Handling Techniques </li></ul><ul><ul><li>Entering Data </li></ul></ul><ul><ul><li>Importing Data </li></ul></ul><ul><li>Excel’s Database Capabilities </li></ul><ul><ul><li>Sort </li></ul></ul><ul><ul><li>Filter </li></ul></ul><ul><ul><li>Subtotal </li></ul></ul><ul><li>Pivot Tables and Charts </li></ul>
Manual Data Entry <ul><li>Press TAB to enter data horizontally: </li></ul><ul><li>Press ENTER to enter data vertically: </li></ul>
Data Forms To enter data in a form view, click Data>Form
Import Data Import a tab or comma-delimited file that has been saved as “Text Only with Line Breaks”
Excel’s Database Capabilities <ul><li>Sorting </li></ul><ul><li>Filtering </li></ul><ul><li>Working with Subtotals </li></ul>Tap the database functions of Excel Click Data . . . Sort , Data . . . Filter , or Data . . .Subgroup
Sorting an Excel Data List Click Data>Sort and choose column to sort by
Filtering an Excel Data List Click Data>Autofilter Choose Column and specifications to filter on
Subtotals and Totals Click Data> Subtotals Choose parameters for subtotals
Pivot Tables and Charts The Pivot Table in Excel is an interactive worksheet that allows you to summarize large amounts of information. The graphical representation of the Pivot Table is a Pivot Chart.
Excel Data List Files In the Excel files suitable for Pivot Table analysis, columns are considered fields, column headings are field names and rows are records. The file must not contain blank columns or rows.
Name the Data Range Highlight the data list. Then enter a name for the range in the Range Name box.
Create Pivot Table Place cursor in data range Choose Pivot Table from Data menu
Pivot Table: Step 1 of 3 Select the data source: Excel list Select the desired result
Pivot Table: Step 2 of 3 If a data range has been defined, the range will automatically be displayed
Pivot Table: Step 3 of 3 Choose pivot table destination Click the Layout Button
Pivot Table Layout Drag the field buttons . . . . . . to the Pivot Table diagram
Sample Pivot Table The data list fields are “pivoted” around the “core data”, gross sales, providing different “views” of the data.
Change Table Layout View > Toolbars > Pivot Table Pivot Chart Wizard Or, drag field names to create new layout