TEXT

Converts a number, date or time into text.

Parameter List

Syntax
TEXT(numberformat)
number

The number, date or time to be converted.

format

The pattern according to which to convert the number, enclosed in quotation marks. Examples: “$0.00”,“#.#%”,“d”,“dd”,“M”,“MM”,“MMM”,“MMMM”,“yy”,“yyyy”,“HH”,“hh”,“ss”,“AM/PM”

Examples

TEXT(DATE(2024,1,23), "dd") returns 23
🍪

We use cookies to enhance your user experience and analyze website performance. You can revoke consent anytime. Learn more.