847 Some Excel Hints
35.5 Text Functions in Excel
Excel lets you change formulas to text. Here are some examples:
1
2
3
4
5
6
7
8
9
10
CBA
Income 15,000
Tax rate 35%
Taxes owed 5,250 <
--
=B3*B2
Tax rate as text 35.00% <
--
=TEXT(B3,"0.00%")
0.4 <
--
=TEXT(B3,"0.0")
Income as date Jan. 24, 1941 <
--
=TEXT(B2,"mmm. dd, yyyy")
TEXT FUNCTIONS
Note that you can choose different ways of formatting cell B3 in text
form. In cell B7 we have formatted the tax rate as a percentage with two
decimal points, whereas in cell B8 we have formatted the tax rate as one
decimal, causing it to be rounded off.
Note also the somewhat stupid example in cell B10: Since dates in
Excel are just numbers that express the number of days from January 1,
1900, we can express the income of $15,000 in cell B2 as a date.
In the next section we use text functions to create chart titles that
update themselves.
35.6 Chart Titles That Update
You want to have the chart title change when a parameter on the spread-
sheet changes. For example, in the next spreadsheet, you want the chart
title to indicate the growth rate.