Documente Academic
Documente Profesional
Documente Cultură
H
A
P
T
E
R
FORMATTING
WORKSHEET AND
CREATING CHARTS
LEARNING OBJECTIVES
311
312
Number Gives absolute control over numeric formatting. We can choose from 96,885 built-in
formats or use the Custom category to create our own.
Alignment Offers settings for horizontal alignment, vertical alignment, rotation, wrap, merge,
and shrinking to fit.
Font Controls font, size, style, underline, color, strikethrough, superscript, and subscript.
Border Controls line style and color for each of the four borders and the diagonals on each
cell.
Fill Offers 16 million fill colors and patterns. Cell gradients are also available.
Protection Used to lock or unlock certain cells.
313
314
Align Left Aligns cell contents along the left edge of the cell
Align Right Aligns cell contents along the right edge of the cell
Center Centers the cell contents within the cell
Top Align Aligns text to the top of the cell
Middle Align Aligns text so that it is centered between the top and bottom of the cell
Bottom Align Aligns text to the bottom of the cell
Orientation Allows the user to rotate text
Decrease Indent Decreases the margin between the border and the text in the cell
Increase Indent Increases the margin between the border and the text in the cell
Wrap Text Wraps the text within a cell so it does not cross adjoining cells or get cut off
315
The Increase Font Size (A^) icon increases the font size of the selected cells to the next larger
setting.
The Decrease Font Size (Av) icon decreases the font size of the selected cells to the next smaller
setting.
The Font Size drop-down offers a complete list of font sizes. The user can hover over any font
size to see the Live Preview of that size in the selected cells of the worksheet.
By using the Font tab of the Format Cells dialog box, the user can also apply Strikethrough,
Superscript, and Subscript effects (see Fig. 4.3.4).
316
317
Click the border between the column headings and drag to the left to make the column narrow
and to the right to make the column wide. A ToolTip appears, showing the width in points and
pixels.
Double-click the border between column headings to adjust the column to fit the widest value
in the column.
Select many columns and drag the border for one column, the width for all columns is adjusted.
Select many columns and double-click one of the borders between column letters, all the columns
adjust to fit their widest value.
Using the ribbon select one or more columns. From the Cells group on the Home Tab, select
Format, Column Width. Then enter a width in characters and click OK.
318
If the selection is one cell, the user can paste the formats to as many cells as he wants.
If the selection is one row tall and multiple cells wide, the user can paste the formats to multiple
rows, and the final paste area will be as wide as the original copied range.
If the selection is one column wide and multiple cells tall, the user can paste the formats to
multiple columns, and the final paste area will be as tall as the original copied range.
The steps to copy formats are:
1. Select a formatted section of a report. The selection can be one cell, one row of cells, or a
rectangular range of cells.
2. Press Ctrl+C to copy the selected section to the Clipboard.
3. Select an unformatted section of the worksheet. If the selection in step 1 is a rectangular range,
then select just the top-left cell of the destination range.
4. Press Ctrl+V to paste. Press Ctrl again to open the Paste Options menu, as shown in Fig. 4.4.1.
Press R to paste only the formats. The formats from the original selection are copied to the new
range. Although the amounts initially changed after pressing Ctrl+C, the original amounts are
restored after pressing R.
5. If the copy is to be made into multiple target destinations to format, repeat step 4 as needed.
But while using the Paste Formats method it does not change column widths. To copy column
widths without pasting values, on the Home Tab, click the Paste drop-down, and then select
Paste Special, Column widths, OK, as shown in Fig. 4.4.2.
319
is equal to a value
contains a value
top 10
top 10%
bottom 10
bottom 10%
above average
below average
INFORMATION TECHNOLOGY TRAINING
321
To identify cells those are above average, the top or bottom n% of cells, duplicate values etc.
The Format as Table icon of the Styles group in the Home Tab provides a predefined table format
to a selected cell range. This feature displays an extensive Table gallery with formatting thumbnails
divided into three sections Light, Medium, and Dark each of which describes the intensity of the
colors used by the various formats.The simple range in Fig. 4.6.1 makes a suitable table because each
row in this range is a record, and each column is a field. The Fig. 4.6.2 shows the table with banded
rows and columns where the range has been formatted using one of the Format as Table styles.
323
Position the cell on the column or the row from where to freeze the panes.
Columns: Select the column to the right of the columns that is to be frozen. For example, click
any cell in column B to freeze column A.
Rows: Select the row below the rows is to be frozen. For example, click any cell in row 4 to freeze
rows 1, 2, and 3.
Columns and rows: Click the cell below the rows and to the right of the columns to be frozen
essentially, the first cell that should not be frozen. For example, click cell B2 to freeze both
column A and row 1.
Freeze Panes option is available in the Window group on the View Tab.
324
Click the vertical split bar and hold down the mouse button.
The mouse pointer changes to a double-headed arrow with a split in its middle (like the one
used to display hidden rows).
Drag downward until we reach the row at which we want the worksheet window divided.
A gray dividing line appears in the worksheet window as we drag down, indicating where the
window will be split.
Release the mouse button.
Excel divides the window into horizontal panes at the pointer's location and adds a vertical
scroll bar to the new pane.
325
Series Name: This is one cell that contains the name of the series. An example might be a cell
with the value East Region.
Series Values: This is a row or column of cells that contain the individual sales for each time
period.
Category Labels: This is a row or column of cells that contain the name for each time period.
The Category Labels typically have the same size and shape as the Series Values.
Chart area: Everything inside the chart window, including all parts of the chart (labels, axes,
data markers, tick marks, and other elements listed here).
Data marker: A symbol on the chart that represents a single value in the worksheet. A data
marker (or data point) may be a bar in a bar chart, a pie in a pie chart, or a line on a line chart.
Data markers with the same shape or pattern represent a single data series in the chart.
326
Data series: A group of related values, such as all the values in a single row in the chart. A chart
can have just one data series (shown in a single bar or line), but it usually has several.
Axis: A line that serves as a major reference for plotting data in a chart. In two-dimensional
charts there are two axes the x-axis (horizontal/category) and the y-axis (vertical/value). In
most two-dimensional charts (except bar charts), Excel plots categories (labels) along the x-axis
and values (numbers) along the y-axis. Bar charts reverse the scheme, plotting values along the
x-axis. Pie charts have no axes. Three-dimensional charts have an x-axis, a y-axis, and a z-axis.
The x- and y-axes delineate the horizontal surface of the chart. The z-axis is the vertical axis,
showing the depth of the third dimension in the chart.
Tick mark: A small line intersecting an axis. A tick mark indicates a category, scale, or chart
data series. A tick mark can have a label attached.
Plot area: The area where Excel plots the data, including the axes and all markers that represent
data points.
Gridlines: Optional lines extending from the tick marks across the plot area, thus making it
easier to view the data values represented by the tick marks.
Chart text: A label or title that we add to the chart. Attached text is a title or label linked to an
axis such as the Chart Title, Vertical Axis Title, and Horizontal Axis Title that we can't move
independently of the chart. Unattached text is text that we add with the Text Box command
button in the Text group on the Insert Tab of the Ribbon.
Legend: A key that identifies patterns, colors, or symbols associated with the markers of a chart
data series. The legend shows the data series name corresponding to each data marker (such as
the name of a column in the column chart).
327
At the bottom of each charting drop-down is the link All Chart Types. After a chart is created, the
user can either click All Chart Types or select Chart Tools, Design, Type, Change Chart Type.
328
329
330
To move a chart to a new location, click inside a whitespace somewhere outside the plot area. For
example, click the whitespace between the axis values or the whitespace above the legend.
331
Click the element directly in the chart to select it use the ScreenTip that appears at the mouse
pointer to identify the chart object before selecting.
Click the name of the chart element on the Chart Elements drop-down list in the Current
Selection group on the Format Tab. The Chart Elements combo box displays the current selected
element.
332
Make sure that the new data has a heading consistent with the old data.
333