Excel Practice - TEXT
Instruction
Format the date/value in A2 as text using pattern "yyyy-mm-dd".
Formula Syntax
=TEXT(value, format_text)
- value: Input value or expression.
- format_text: Custom format pattern for TEXT output.
What it does
Format numbers or dates into custom text output.
date-calendar.xlsx
| A | B | |
|---|---|---|
| 1 | Date | Offset Months |
| 2 | 2026-01-15 | 0 |
| 3 | 2026-02-28 | 1 |
| 4 | 2026-03-31 | -1 |
| 5 | 2026-07-04 | 2 |
| 6 | 2026-12-20 | 3 |
| 7 | Output |
Input Formula
Need Help?
Tips
- Use TEXT with clean and consistent ranges for predictable results.
- Validate data types (number, text, date) before applying the formula.
- Test the formula with a small sample first, then scale it to larger ranges.