Technology Q&A
Custom
formats for spreadsheet numbers
Move whole
paragraphs up or down
How to print custom headers
and footers in Excel
Remove the character formatting
from a single paragraph
A better way
Shortcuts.
Key
to Instructions
To help
readers follow the instructions in this
article, we use two different typefaces.
Boldface type identifies
the names of icons, agendas, URLs and
application commands.
Sans
serif type indicates
instructions and commands that users
should type and file names. |
|
| |
EXCEL
Q. I want to format my spreadsheets to
show negative numbers in two different ways: in
red when I view them on the screen and, because I
dont use a color printer, in parentheses
when I print them. How do I do this?A. Excel provides a wide assortment of
formatting possibilities for numbers. Ill
show you how they work so you can set up any
combination you wish.
First, highlight
the cells containing the numbers you want to
format and then go to Format
(right-click and then select Format Cells),
and you will get this screen (see right).
The Category
box contains a wide assortment of formatting
choices. If none of them suits your needs, click
on Custom at the bottom of the
list. That will give you many
possibilitiesplus the option of creating
your own format.
Heres how to
create custom formats: Under the Type
box, scroll down the list of choices. Notice that
some lines have several formats, each separated
by a semicolon.
If you click on such a line, as shown
above, the entire line appears at the top of the Type
boxsemicolon and all. In the example above,
that combination of code tells Excel to put the
comma in for thousands (1,234); it also sets
negative numbers in both red and with
parentheses.

You can change the
code in many waysadding colors and
conditionals. Whatever you enter automatically is
added to the Custom category and
can be used anywhere within the workbook.
For some
reasonor maybe for no good reason at
allExcel hides a good tutorial on
customizing numbers. To find it, go to Help
(F1), click on the Index tab and
under Type keywords, enter format.
Then scroll down the drop-down list until you
come to Create or delete a custom format
number.
In the meantime,
here are some frequently used codes:
| Category |
Form |
Value |
Displayed
as |
| Number |
#,##0.00 |
.01 |
0.01 |
| |
|
0.1 |
0.10 |
| |
|
1234 |
1,234.00 |
| |
|
5678 |
5,678.00 |
| Percentage |
0.00% |
.01 |
1.00% |
| |
|
0.1 |
10.00% |
| |
|
1.234 |
123.40% |
| |
|
5.678 |
5,67.80% |
| Currency |
$#,##0.00_);
[Red]($#,##0.00) |
.01 |
$0.10 |
| |
|
0.1 |
$0.10 |
| |
|
1234 |
$1,234.00 |
| |
|
5678 |
($5,678.00) |
Likewise, you can format fractions, too.
Be aware that no
matter which format you use to display numbers,
you arent affecting the accuracy of the
number. Internally, Excel maintains all numbers
to 15 places. So if a number is displayed using
two decimal places, Excel still maintains it
internally to 15 decimal places, and it
calculates using the internal representation.
|
| |
WORD
Q. Is there an
easy way to move whole paragraphs to different
places in a document without going through the
whole highlighting process?A. There is, and its a real
time-saver. In fact, I dont think its
documented in any of the Microsoft help
filesor at least I havent found it.
All you have to do is place
your cursor in the paragraph you want to move,
hold down both the Shift and Alt keys and press
the up arrow to move it up or the down arrow to
move it down.
|
| |
|
EXCEL
Q. How can I
print a worksheet name in my spreadsheets?.A. You may not realize it, but you can
generate very customized headers and footers in
Excel. Lets tackle the easy one first. Open
a worksheet and, on the toolbar, click on File,
Page Setup and then the Header/Footer
tab.
Excel provides a bunch of
default headers and footers. To see them, click
on the down arrow at the right edge of the Header
or Footer box.
If none of them meets
your needs, click on either Custom Header
or Custom Footer, which brings
up this screen:

By placing your cursor in any
of the boxes (Left section, Center
section, Right section) and clicking on
any of the icons, you can add the appropriate
header or footer to that section of the
spreadsheet.
For example, lets say I
want to add the page number on the left, a
graphic in the middle and the date on the right.
The setup screen then looks like this:

And when I print the page, it
looks like this:

If none of the defaults meets
your needs, here are some command codes you can
manually addby typing an ampersand (&)
followed by the command (see below)in any
of the section boxes.
| Code |
Meaning |
| &D |
Current date |
| &T |
Current time |
| &F |
Workbook name |
| &A |
Worksheet name (from
the worksheet tab) |
| &P |
Current page number |
| &P+x |
Current page number
plus x |
| &P-x |
Current page number
minus x |
| &N |
Total pages in the
workbook |
| && |
Ampersand character |
|
| |
|
WORD
Q. I like the
tip you once gave about removing character
formatting from an entire Word document by
highlighting the document and pressing Ctrl+
Spacebar. But what if I dont want to remove
all the formattingjust the formatting from
one paragraph? Its a problem that comes up
often when I try to untangle paragraphs with
bullets or numbering. A. Right on! Those bullets and numbers can
be a major pain. Heres an undocumented (or
well-hidden) two-finger solution. Just highlight
the paragraph and press Ctrl+Q.
|
| |
|
A BETTER
WAY
The URL I gave you in May
2003 (page 73) for
guidance in using the Ruler in
Word has since evaporated into the Internet
ether, and reader George Salley, a retired CPA,
suggests this one: http://www.mvps.org/word/FAQs/. Also in the May issue, I gave you a tip (page 72) for
shutting down programs running in the background
that may interfere with a defragmentation. Reader
Helen Donnell, CPA, CMA, of Orlando, Florida,
suggests a much better way to close down
interfering programs: Use the infamous
three-finger salute (Ctrl+Alt+
Delete). In the old days, those key
strokes shut down Windows, but in Windows
editions since 2000, Ctrl+Alt+ Delete evokes a
screen that displays all the programs running in
the background (see screenshot) and gives you the
option of shutting each of them down.
To end a program, click on its
name and then on End Task. When
finished defragging, youll need to reboot
the computer to get rid of the task screen.
|
| |
|
|
| |
|
| |
|
| Do you have technology
questions for this column? Or, after
reading an answer, do you have a better
solution? Send them to contributing
editor Stanley Zarowin via e-mail at zarowin@mindspring.com. Because
of the volume of mail, we regret we
cannot individually answer submitted
questions. However, if a readers
question has broad interest, we will
answer it in a forthcoming Technology
Q&A column.
On occasion you may
find you cannot implement a function I
describe in this column. More often than
not its because not all functions
work in every operating system or
application. I try to test everything in
the 2000 and XP editions of Windows and
Office. Its virtually impossible to
test them in all editions and its
equally difficult to find out which
editions are incompatible with a
function. I apologize for the
inconvenience.
|
|
|