search
auto_awesome
What's New
13 New Features
New Feature
v1.8.0
MCX Option Chain
MCX option chain is now live — fetch a fully formatted, ready-to-use option chain in just a few clicks • Extended MCX compatibility to EXPIRY(), EXPIRES(), STRIKESTEP() and ATMSTRIKE() formulas
New Feature
v1.8.0
Indian Number Formats
Added two new number formats with Indian-style (Lakh/Crore) thousand separators • Indian Separator (e.g., 1,22,333) • Indian Separator with 2 Decimals (e.g., 1,22,333.00)
New Feature
v1.7.1
New ShortCuts in Sheets - Ctrl+Shift+9/0
Ctrl+Shift+9/0 to unhide rows or columns, Shift+F10 for the right-click menu
New Feature
v1.7.0
Reliable Market Data & New Fundamentals Formulas
Sector/Industry formulas, cell-reference inputs on every data formula, and full keyboard & screen-reader accessibility
New Feature
v1.5.0
Advanced Conditional Formatting
Top and Bottom rules in conditional formatting — by count or percent — plus Above average, Below average and their equal-or variants • 12 ready-made colour scale presets with live gradient previews, in 2-colour and 3-colour styles • OI Bars now offer gradient and solid fills in Green, Red, Orange, Blue, Purple and Pink, with a crisp border
New Feature
v1.4.2
Time Formula
TIME, HOUR, MINUTE and SECOND formulas
New Feature
v1.4.2
Text Formula
TEXT formula with full Excel-style formatting patterns, including positive/negative/zero/text sections, fractions, scientific notation and elapsed time
New Feature
v1.4.0
Live Option Chains & a Smarter Editor
Option chain support with automatic ATM strike detection and ready-styled chain layouts • A formula help panel while you type, showing what the formula does, its arguments, an example, and a link to its documentation • Ready-made option strategy templates
New Feature
v1.3.0
Simplified Formula Names & New Additions
Formula names have been simplified by dropping the GET prefix (e.g. GETTICKS is now TICKS), and six new formulas have been added: EXPIRY, EXPIRIES, LOTSIZE, COMPANYNAME, ATMSTRIKE, and STRIKESTEP.
New Feature
v1.0.0
Google Drive and other cloud storage providers
Save files directly to Google Drive and other cloud storage providers, and open files straight from the cloud
New Feature
v0.7.0
Conditional Formatting, Price Alerts
Conditional formatting — automatically highlight cells based on rules you define • Price alerts — set target-based alerts on any cell, with "once" or "every time" triggers and edge/interval conditions
New Feature
v0.4.0
Scripting & Live bar Streaming
Live bar streaming with a live OHLC candlestick chart • TD Scripting engine
New Feature
v0.2.0
Live Market Formulas
Custom TrueData formulas built directly into the spreadsheet engine.
TEXT() Formula
Converts a value to text in a specific format. Use it to control exactly how numbers, dates and times appear in labels, reports and joined strings.
Syntax
=TEXT(value, "format_text")=TEXT(1234.567, "$#,##0.00") $1,234.57value
A number, a formula that returns a number, or a reference to a cell containing a number.
format_text
The display pattern in double quotes. Same codes as Custom Format.
ANumber Formats BLeading Zeros & Digit Placeholders CCurrency Formatting DPercentage Formatting ENegative Numbers & Zero Handling FDate Formatting GTime Formatting HDate & Time Combined IScientific Notation & Fractions JCustom Text, Symbols & Units
Format Code Cheat Sheet
| Code | Meaning | Example |
|---|---|---|
0 |
Digit, pads with zero | 00 → 05 |
# |
Digit, no padding (hides zero) | ### → 123 |
? |
Digit, pads with space | ???.?? → 12.3 |
, |
Thousands separator | #,##0 → 1,234 |
% |
Multiplies by 100, adds % | 0% → 25% |
E+00 |
Scientific notation | 0.00E+00 → 1.23E+06 |
# ?/? |
Fraction | # ?/? → 1 3/4 |
d dd ddd dddd |
Day, padded, short name, full name | dddd → Monday |
m mm mmm mmmm |
Month number, padded, short, full | mmm → Oct |
yy yyyy |
2-digit / 4-digit year | yyyy → 2026 |
h hh HH |
Hours (padded, 24-hour) | HH:mm → 23:59 |
mm / ss |
Minutes (after h) / seconds | hh:mm:ss → 09:05:07 |
AM/PM |
12-hour clock marker | h:mm AM/PM → 2:30 PM |
[h] |
Elapsed hours (can exceed 24) | [h]:mm → 12:00 |
"text" |
Literal text (double the quotes inside a formula) | 0 ""items"" |
? $ € £ |
Literal currency prefix | ?#,##0 → ?1,500 |
Examples by Category
Type the formula in a cell and it returns the result shown next to it.
A. Number Formats
10 examples| Formula | Result | |
|---|---|---|
=TEXT(123,"0") |
123 | |
=TEXT(123.456,"0") |
123 | |
=TEXT(123.456,"0.0") |
123.5 | |
=TEXT(123.456,"0.00") |
123.46 | |
=TEXT(123.4,"0.000") |
123.400 | |
=TEXT(1234.56,"#,##0.00") |
1,234.56 | |
=TEXT(1234567,"#,##0") |
1,234,567 | |
=TEXT(12.5,"0.00") |
12.50 | |
=TEXT(0,"0.00") |
0.00 | |
=TEXT(0.456,"0.0000") |
0.4560 |
B. Leading Zeros & Digit Placeholders
8 examples| Formula | Result | |
|---|---|---|
=TEXT(5,"00") |
05 | |
=TEXT(25,"0000") |
0025 | |
=TEXT(123,"000000") |
000123 | |
=TEXT(0,"000") |
000 | |
=TEXT(12.5,"000.00") |
012.50 | |
=TEXT(123,"###") |
123 | |
=TEXT(0,"###") |
(empty) | |
=TEXT(12.3,"???.??") |
12.3 |
C. Currency Formatting
6 examples| Formula | Result | |
|---|---|---|
=TEXT(1500,"?#,##0") |
?1,500 | |
=TEXT(2500,"$#,##0.00") |
$2,500.00 | |
=TEXT(2500,"€#,##0.00") |
€2,500.00 | |
=TEXT(1000,"£#,##0.00") |
£1,000.00 | |
=TEXT(1500,"Rs. #,##0.00") |
Rs. 1,500.00 | |
=TEXT(-250,"?#,##0.00") |
-?250.00 |
D. Percentage Formatting
7 examples| Formula | Result | |
|---|---|---|
=TEXT(0.25,"0%") |
25% | |
=TEXT(0.256,"0.0%") |
25.6% | |
=TEXT(0.2567,"0.00%") |
25.67% | |
=TEXT(1,"0%") |
100% | |
=TEXT(0,"0.00%") |
0.00% | |
=TEXT(-0.15,"0.0%") |
-15.0% | |
=TEXT(1.256,"0.00%") |
125.60% |
E. Negative Numbers & Zero Handling
6 examples| Formula | Result | |
|---|---|---|
=TEXT(-123,"0") |
-123 | |
=TEXT(-123.456,"0.00") |
-123.46 | |
=TEXT(-1234.5,"#,##0.00") |
-1,234.50 | |
=TEXT(0,"0") |
0 | |
=TEXT(0,"0.00") |
0.00 | |
=TEXT(-0.005,"0.00") |
-0.01 |
F. Date Formatting
16 examples| Formula | Result | |
|---|---|---|
=TEXT(DATE(2026, 10, 10),"dd-mm-yyyy") |
10-10-2026 | |
=TEXT(DATE(2026, 10, 10),"dd/mm/yyyy") |
10/10/2026 | |
=TEXT(DATE(2026, 10, 10),"yyyy-mm-dd") |
2026-10-10 | |
=TEXT(DATE(2026, 1, 5),"d/m/yy") |
5/1/26 | |
=TEXT(DATE(2026, 1, 5),"dd/mm/yy") |
05/01/26 | |
=TEXT(DATE(2026, 10, 10),"mmmm d, yyyy") |
October 10, 2026 | |
=TEXT(DATE(2026, 10, 10),"mmm d, yyyy") |
Oct 10, 2026 | |
=TEXT(DATE(2026, 10, 10),"mmmm") |
October | |
=TEXT(DATE(2026, 10, 10),"mmm") |
Oct | |
=TEXT(DATE(2026, 10, 12),"dddd") |
Monday | |
=TEXT(DATE(2026, 10, 10),"ddd") |
Sat | |
=TEXT(DATE(2026, 10, 10),"dd") |
10 | |
=TEXT(DATE(2026, 10, 10),"mm") |
10 | |
=TEXT(DATE(2026, 10, 10),"yy") |
26 | |
=TEXT(DATE(2026, 10, 10),"yyyy") |
2026 | |
=TEXT(DATE(2026, 1, 1),"dddd, mmmm d, yyyy") |
Thursday, January 1, 2026 |
G. Time Formatting
11 examples| Formula | Result | |
|---|---|---|
=TEXT(TIME(9, 5, 0),"hh:mm:ss") |
09:05:00 | |
=TEXT(TIME(9, 5, 0),"h:mm") |
9:05 | |
=TEXT(TIME(14, 30, 0),"hh:mm AM/PM") |
02:30 PM | |
=TEXT(TIME(14, 30, 0),"h:mm AM/PM") |
2:30 PM | |
=TEXT(TIME(0, 0, 0),"hh:mm AM/PM") |
12:00 AM | |
=TEXT(TIME(12, 0, 0),"hh:mm AM/PM") |
12:00 PM | |
=TEXT(TIME(23, 59, 0),"HH:mm") |
23:59 | |
=TEXT(TIME(9, 5, 7),"hh:mm:ss") |
09:05:07 | |
=TEXT(TIME(9, 5, 7),"h:mm:ss AM/PM") |
9:05:07 AM | |
=TEXT(TIME(12, 34, 56),"mm:ss") |
34:56 | |
=TEXT(0.5,"[h]:mm") |
12:00 |
H. Date & Time Combined
4 examples| Formula | Result | |
|---|---|---|
=TEXT(DATE(2026, 10, 10)+TIME(14, 30, 0),"dd-mm-yyyy hh:mm") |
10-10-2026 14:30 | |
=TEXT(DATE(2026, 10, 10)+TIME(14, 30, 0),"dd/mm/yyyy hh:mm AM/PM") |
10/10/2026 02:30 PM | |
=TEXT(DATE(2026, 1, 5)+TIME(9, 5, 7),"ddd, dd mmm yyyy hh:mm:ss") |
Mon, 05 Jan 2026 09:05:07 | |
=TEXT(DATE(2026, 12, 31)+TIME(23, 59, 59),"yyyy-mm-dd hh:mm:ss") |
2026-12-31 23:59:59 |
I. Scientific Notation & Fractions
5 examples| Formula | Result | |
|---|---|---|
=TEXT(1234567,"0.00E+00") |
1.23E+06 | |
=TEXT(0.00123,"0.00E+00") |
1.23E-03 | |
=TEXT(0.5,"# ?/?") |
1/2 | |
=TEXT(0.25,"# ?/?") |
1/4 | |
=TEXT(1.75,"# ?/?") |
1 3/4 |
J. Custom Text, Symbols & Units
4 examples| Formula | Result | |
|---|---|---|
=TEXT(123,"0.00 kg") |
123.00 kg | |
=TEXT(50,"0 ""items""") |
50 items | |
=TEXT(0.25,"0% ""complete""") |
25% complete | |
=TEXT(1234,"#,##0 ""units""") |
1,234 units |
Pro tips
TEXT() returns text, not a number, so use it for the final display only. mm means month beside d/y and minutes beside h/ss. To add words, double the quotes: "0 ""items""".
Empowering traders and analysts with high-performance real-time market data directly within their spreadsheets.
Resources
Support
© 2026 TrueData Market Data Services LLP. All rights reserved.