This method converts a number to text and allows you to customise the display formatting with format strings. Assume that cell A1 has the integer 43.8. To format the number as a dollar amount, use the expression TEXT(A1,”$0.00″), which yields the result $43.8.
You may also add a text to the above formula, such as =TEXT(A1,”$0.00″) & “per Miles,” to get the result $43.8 per Miles.
Syntax:
=TEXT (value, format_text)
Parameter list:
Example :
The TEXT function allows you to modify the appearance of a number by formatting it using format codes. It comes in handy when you wish to present numbers in a more legible style or combine numbers with text or symbols.
Ask Your Query