Article ID: 107073 - Last Review: November 15, 2004 - Revision: 4.0 Works: How to Append Text to Numbers in Spreadsheet or DatabaseThis article was previously published under Q107073 SUMMARY
You can append text to numerical data within a spreadsheet cell or database field using a formula. This can be used to specify the units of the number (for example, "89.6 metric tons"), add additional information to the number (for example, "6.7 percent is our best increase ever"), and so on.
MORE INFORMATION
The formula needed to append text is as follows
=String(N,D)&"Text"
where:
N = The numerical data (or formula)
As the number or formula "N" changes, the display with the appended text does also. The String function in the formula above converts the numerical data to a string and the "&" operator places the appended text at the end of the new string.
D = The number of decimal places desired for N Text = Text to append (note that it must be in quotation marks) The following is an example:
20.00 points
NOTE: If the equation is being used in a database, place the name of the field containing the numerical data in the place of A1 above.
APPLIES TO
| Article Translations
|

Back to the top
