Excel Book
Excel Book
§ extracted the data by copying/pasting an inquiry panel into Excel; by running a query or
by downloading a report to Excel;
§ are currently viewing the document;
§ have saved the document to your hard drive in Excel format.
Title Bar
Menu Bar
Toolbars (Buttons)
Column Headings
Column Labels (Headers)
Worksheet
Scroll Bar
Solution The column is not wide enough to display the data. Make the column wider.
Example The Gross Amount Paid column in the following worksheet is not wide enough to display the
data in the cells correctly. The Name column is too wide. Change the column widths to
make the data fit properly.
Instructions Step 1: Click and hold to drag the boundary on the right side of the column heading. Make
the column wider or narrower as needed.
Example The following worksheet does not have any column labels. Insert a row at the top of the
worksheet and enter names for columns.
Instructions Step 1: Click once on the next to cell A1. This will highlight the entire row.
Step 3: Type the label of the first column (Column A) and press Tab to move to the next
column.
Step 5: If the row is no longer highlighted, then select (highlight) the cells containing the
column labels. Format the column labels using the font, size and color tools on the toolbar.
Example The following worksheet has Pmt Date in the last column. Move the Pmt Date to the left of
Voucher to make it the first column.
Instructions Step 1: Select the entire column by clicking on column header of the column you want to
move. The column headers look like this:
Step 3: Click on the column header to the right of where you want the column inserted.
Results The column you cut is pasted to the left of the column you selected.
Solution Delete or hide the columns that contain the repetitive or unnecessary information.
Example In the worksheet below, you can see that several columns contain repetitive information. The
Unit and SetID columns hold only one value (UMLOW) and the Vendor Classification column
contains Employee. Delete these columns.
Instructions Step 1: Click on the column heading of the column you want to delete.
Step 2: Select Edit > Delete to delete the column or select Format > Column > Hide.
NOTE: You can always use the Unhide command later. You may not be able to “undelete”
the column.
Results The worksheet no longer displays columns with repetitive and unnecessary data.
Solution The columns are not formatted to display the data correctly.
Example In the worksheet below, the Gross Paid Amount column contains dollar values. Format the
cells to display the data as currency.
Instructions Step 1: Select the range of cells that need to be formatted as currency.
5. Click OK.
Solution Use Excel’s sort feature to re-organize the data. In the example below, the output is sorted
by the Vendor number. You might find that sorting by payment date is more useful to you.
Example The following data needs to be sorted by Name and Payment Date.
Instructions Step 1: Determine which column will be used as your primary sorting criteria. You may also
want a secondary sort criteria. For example, you may want to sort by Payment Date and then
by Gross Paid Amount.
Step 3: Select the sort criteria as shown below. The drop-down lists will contain the Column
Labels (headers).
4. Click OK.
Results The data is sorted according to the primary and secondary criteria you entered.
Solution Use Excel’s filter capability to view a subset of the data. Excel will display only the rows of
data that meet the criteria you specify.
Example The list in the example below is filtered to show only the rows for the salesperson Davolio.
Instructions Step 1: Determine which column(s) will be used as your primary filtering criteria. Click on a
cell in the list you want to filter.
Step 2: Select Data > Filter > AutoFilter. Arrows appear to the right of the column labels.
Step 3: Click on the arrow to display a list of all unique values found in that list.
Step 4: Select the value to display all rows containing that value. Notice that you can also
choose (Blanks) or (NonBlanks).
Step 4: To view the entire spreadsheet again, select Data > Filter > AutoFilter.
Notes You can make selections from more than one column. Each time you make a filtering
selection from another column, you are further limiting your list (using a logical AND). In the
example below, you are viewing only the rows of data that have an HRDeptID of L690710
and an Hrly Rate of 10.00. These are all the student employees working in the Escort
Services area and making $10/hr.
Solution The query/report was not designed to provide the information. However, Excel provides
several options for calculating totals and sub-totals. Microsoft Excel can automatically
summarize data by calculating subtotal and grand total values in a list. To use automatic
subtotals, your list must contain labeled columns and the list must be sorted on the columns
for which you want subtotals, as shown below.
You can select which type of function or calculation you want Excel to perform on each
group. The most common function is the Sum function, where you calculate a total (sum) for
each group.
Step 1: Sort the data on the columns by which you want the subtotals grouped.
Select Data > Sort… and select your primary and secondary sort criteria.
Select how you would like your data grouped. This should be
the same column by which you sorted your data in Step 1.
Select the function you’d like to use. The Sum function is the
most common but you may also choose Count, Average, Max,
Min, etc.
Select the checkboxes for the columns that contain the data
for which you want subtotals.
For each new name in the list, Excel will calculate the sum of
the Gross Paid Amount and a grand total.