Gomaa Intelligence.Data Hub
عربي

Home › TEXT

Excel TEXT Function — Syntax, Example & Tips

Converts a number or date to text in the format you choose.

Syntax

=TEXT(value, format_text)

Example

=TEXT(A2, "yyyy-mm-dd")

Show the date as year-month-day.

Tip

The result is text, not a number, so avoid using it in calculations.

Try the tool

Want an expert to do it for you?

Gomaa Intelligence turns your data into clear reports and decisions. Tell us your problem and we will reply.

FAQ

What does TEXT do?

Converts a number or date to text in the format you choose.

How do I use TEXT?

=TEXT(A2, "yyyy-mm-dd") — Show the date as year-month-day.

Related functions

VLOOKUP · XLOOKUP · SUMIFS · COUNTIFS · IF · IFERROR · TEXTJOIN · TRIM · COUNTIF · SUMPRODUCT · UNIQUE · FILTER · DATEDIF

Get your data analyzed by an expert ↗