What it does
TEXT converts a value to formatted text.
Syntax or pattern
=TEXT(value, format_text)5 practical examples
Format a date in a sentence
Display a date as month and year.
=TEXT(A2,"mmm yyyy")Useful for labels and report titles.
Format currency text
Show a number as currency text.
=TEXT(B2,"$#,##0")Remember the result is text, not a number.
Create month keys
Create yyyymm keys from dates.
=TEXT(A2,"yyyymm")Useful for matching monthly data.
Format percentages
Display a percent in a message.
=TEXT(B2,"0.0%")Great for summary labels.
Build report title
Combine text and formatted date.
="Sales report - "&TEXT(TODAY(),"mmmm d, yyyy")Dynamic report labels are easy with TEXT.
Common mistakes to avoid
- Not handling missing delimiters.
- Forgetting that some text functions return text, not numbers.
- Using fixed positions when the text layout is not consistent.
Related Excel examples
FAQ
Can text formulas work with Excel Tables?
Yes. Table references can make text-cleaning formulas easier to understand.
Here are some ideas for you
Optional resources that may help if you are learning formulas, building reports, or working in spreadsheets often.
- Excel formula booksSee ideas
Practice formulas with structured examples you can keep beside your desk.
- Excel shortcut guidesSee ideas
Build speed with keyboard shortcuts for selection, formatting and navigation.
- Numeric keypadsSee ideas
Helpful if you enter many numbers on a laptop or compact keyboard.
- External monitorsSee ideas
Useful for viewing large worksheets, formulas and reference tables side by side.
- Desk notebooksSee ideas
Sketch formula logic, report ideas and table structures before building.
- Laptop standsSee ideas
Make long spreadsheet sessions more comfortable and ergonomic.
Some links in this section may be affiliate links. Choose only what is useful for your own work.