Professional Documents
Culture Documents
Formatarea Si Protejarea Spatiului de Lucru
Formatarea Si Protejarea Spatiului de Lucru
Formatarea Si Protejarea Spatiului de Lucru
Predefined
table
Applying a predefined table format
Converting the predefined table to
a normal range of cells
Worksheet Formatting Techniques
Formatting Numbers
Percentage Thousands
format separator
Worksheet Formatting Techniques
Formatting Numbers (Ctrl +
1)
Previewing
number
format
Format
Categories
Number of
decimal places
(0-30)
Add or remove
Negative the thousands
number separator
formats
Brief
description of
selected format
Worksheet Formatting Techniques.
Format categories
The General Format is the default format for all cells. For the most
part, numbers formatted with the General format are displayed just
the way we entered them. However, if the cell is not wide enough to
show the entire number, the General format rounds numbers with
decimals or uses scientific notation for large numbers.
The Number Format category contains options for:
• displaying numbers in integer;
• displaying decimal numbers (select between 1 and 30 decimals by
typing or scrolling to the value in the Decimal Places box);
• displaying negative numbers (select an option from the Negative
Numbers list to display negative numbers preceded by a minus
sign, numbers in red, or both in red and with a minus sign;
• selecting thousand separators option to add points between
hundreds and thousands, between thousands and millions and so
Format categories. Currency Format
Custom
format
styles
Custom Format Codes
Symbol Meaning
0 Digit placeholder - this symbol allows to display the leading zeros (extra
zeros) on each side of the decimal point.
# Digit placeholder - this symbol works like 0, except that leading zeros do not
appear if the number has fewer digits on either side of the decimal point than
number of symbols specified in the format.
() $ - + / Standard formatting characters - these symbols allows to type these characters
space directly into the custom format.
. Thousands separator - this symbol is used like digit grouping symbol. If the
format contains a number greater than 999, Excel uses points to separate
hundreds from thousands, thousands from millions, and so on.
„text” Literal character string - in any custom format, a text will be always specified
between two quotation-marks.
* Repetition initiator - repeats the next character in the format enough times to
fill the column width.
@ Text placeholder - if the cell contains text, this symbol inserts that text in the
format where the symbol appears.
[color] Setting color - this format code allows to change the color of an entry, by
typing the name of color enclosed in two square paranthesis.
Custom Format Codes. Examples
Creating Four-Part Formats
In each custom format we can create a general expression for the
custom formats, specifying the completely different formats for the
positive number, negative number, null Custom
The General value and text value,
Format
separating these portions by semicolons.
is entered on the Type box
Format1;Format2;Format3;Format4
[Blue][>50000]$#.##0,00;[Red][<0]($#.##0,00); $#.##0,00
Using a combination of conditional formats, removing the leading
zeros, applying thousands separator can considerably improve
both the readability and the effectiveness of Excel worksheet,
without increasing the number of formulas.
Format categories. Date Format
Formattin
g Dates
The
The Location
numeric value
list box
is allows
normallyto
right
select
aligned
frominmore
the current
than 120 cell,
different
but if we locations
apply thewith
Text unique
format
In the Format Cells dialog box,
special
to the the
c user can select the Date
formats
category to display a list of available formats in the Type box
from the right side.
Format categories. Date Format
Regarding the last two-digit of year number from the date format,
there is an agreement: if the last two-digits of year number are
comprised between 0 and 29 (including 29), then the year belong to
the 21th century, otherwise, if that two numbers are greater than or
equal to 30, in this case, the year will belong the 20 th century (for
example, the abbreviation 27 means 2027, while 45 means 1945).
Changing the Appearance of Data
Based on Its Value
Conditional formatting represents an important spreadsheet feature
which has improved significantly starting from the version 2007,
representing now one of the most useful tool for visualizing the
worksheet numeric data.
Conditional Formatting represents an important Excel feature which
allows to apply several formatting attributes for the cell or range of cells
that meet the given criteria. Steps to follow:
1. select the cell or range of cells you want to apply a conditional format;
2. activate the command Conditional Formatting on the Ribbon - as a
result, Excel will display a drop-down list containing all the formatting
options available in current worksheet;
3. choose the formatting type from the drop-down list according to the
nature of information you want to format and your informational
requirements related to the field you selected before.
Home tab – Styles group – Conditional Formatting command
Suppose we want to apply a conditional formatting to a worksheet table
that contains the amount of 2008 sales, by Months and by Products.
In this case, the formatting rule will be the following: if any of the sale
value drop to less than 5 monetary units, the format of the cell changes
(green fill and text) to stand out from the other cells of the table.
Conditional formatting options.
Highlight Cells Rules
Conditional formatting options.
Highlight Cells Rules
Conditional formatting options.
Top/Bottom Rules
Conditional formatting options.
Data Bars
Conditional formatting options.
Color Scales
Conditional formatting options. Icon Sets
Click
ChangeNew Rule
the first icontab from
setting the Value
to When Conditional
Is >= 80,Formatting Rules
specify Number as
Manager
the Type; dialog
leave thebox.other icon settings as they are, and return to the
Conditional Formatting Rules Manager.
Conditional formatting options. Icon Sets
Choose the Format Only Cells That Contain; in the bottom section
of the dialog box, specify Cell Value Less Than 80 and return to
the Conditional Formatting Rules Manager; as you can see, the
dialog box has now two formatting rules .
Conditional formatting options. Icon Sets
The first rule checks to see whether the value is less than 80.
If so, rule checking stops, and no conditional formatting is applied.
If the value is greater than or equal to 80, the second rule will be
applied. This rule indicates that values greater than or equal to 80
are displayed with an icon.
Icon Sets Example – Student Test Marks
=C3 – B3
=SUM(B20:B23)
Creating Formula-Based Rules. Example
When
Suppose
wewe press
want
Delete
to display
key to the
remove
totalthe
sales
contents
by quarters,
of a cell,
only
actually
whenwe all
do
quarter
not delete
sales the
are conditional
entered (range formatting
B20:B23).
too. The
To remove
report all
sales
conditional
A19:B24
formats,
shows a range
we mustwithfirstly
a formula
to select
thatthe
usescell
theorSUM
the function
range of in cells,
cell then
B24.
choose
Conditional
Editing
formatting
group is from
usedHome
to hidetabthe➪sumClear
if any
command
of the four
➪ Clear
cells
Formats
above is blank.
option.The
Or,conditional
choose Clear formatting
Rules option
formulafrom
for cell
theB24Conditional
(and cell
Formatting
A24, which drop-down
contains a label)
menu.requires the COUNT function.
The sum is displayed only when all four values have been entered.
A missing value causes the sum to be hidden.
Aligning Data in Worksheet Cells
The contents of a cell can be aligned horizontally and vertically.
By default, Excel aligns numbers to the right and text to the left side, but
vertically, all cells use the bottom alignment. The Alignment group on the
Home tab on the Ribbon contains the most useful tools for aligning data
within worksheet cells. For more alignment capabilities, click the dialog
box arrow adjacent to the title of the Alignment group to display the
Format Cells dialog box (Alignment tab).
Vertical alignment buttons
Orientation button and menu
Wrap Text
Wrapping Text
using the
Multiline Feature
Controlling Text
Orientation
Shrinking Text to Fit
in Cell