Export (0) Print
Expand All
ABS
AND
ASC
COS
DAY
DDB
EXP
FV
IF
INT
LEN
LN
LOG
MAX
Me
MID
MIN
MOD
NOT
IS
NPV
ODD
OR
PI
PMT
PV
SIN
SLN
SUM
SYD
T
TAN
VAR
Expand Minimize

TEXT

Archived content. No warranty is made as to technical accuracy. Content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Converts a value to text in a specific number format.

Syntax

TEXT ( value , format_text )

Value is a numeric value, a formula that evaluates to a numeric value, or a column reference containing a numeric value.

Format_text is a number format in text format.

Remarks

  • Using the TEXT function converts a value to formatted text, and the result is no longer calculated as a number.

Example

Salesperson

Sales

Formula

Description (Result)

Buchanan

2800

=[Salesperson]&" sold "&TEXT([Sales], "$0.00;($0.00)")&" worth of units."

Combines contents into a phrase (Buchanan sold $2,800.00 worth of units.)

Dodsworth

.4

=[Salesperson]&" sold "&TEXT([Sales],"0.00%")&" of the total sales."

Combines contents into a phrase (Dodsworth sold 40.00% of the total sales.)

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft