Number Formatting

A calendar is shown with the number 1000.

Number Formatting lets you change the appearance of a number, date or time. You can change the number of decimal places, add dollar or percentage signs or even comma separators.

A red arrow pointing to the right.

Number Format Codes

Row64 uses Excel / Spreadsheet style format codes to simplify formatting and make it familiar and easy to learn.

A sign that says $345.

Format codes indicate the number of decimal places, any prefix at the front and whether their are commas. The simplest way to use them is to look at the examples at the end of this doc and pick the one you want.

A diagram shows the process of adding a decimal point to a number.

Where To Set Formatting

Spreadsheet Formatting is set by right clicking on cells or the Format Cells button on the top bar

A screenshot of a computer screen with a button labeled Or Click Cell on the right side.

Dataframe Formatting is set by right clicking on any column

A screenshot of a spreadsheet with a red arrow pointing to the Black Column button.

Chart Formatting is set by clicking on the chart settings and opening the aspect of the chart you want to tune the number format on. Typically charts will have multiple places where format codes can be set.

A screen with a bar chart and options to change the font, font size, and color.

Order of Formating

If the chart has formatting in the Settings it will use that. If there is no Settings formatting, then it will use the format from the input dataframe.

Number Format Examples

Spreadsheet, Chart & Dataframe Codes

Input NumberFormat CodeOutput
1234567890.00123456789.00
123456789$###0$123456789
123456789#,##0123,456,789
1234567890,000123,456,789
123456789#.##0123.456.789
123456789$#,##0.00$123,456,789.00
123456789($#,##0.00)($123,456,789.00)
123456789“test”$#,##0.00test$123,456,789.00
123456789#,##0.00123,456,789.00
123456789#,##0.00" Units"123,456,789.00 Units
-1234567890-123456789
-1234567890.00-123456789.00
-123456789$#,##0-$123,456,789
-123456789($#,##0.00)-($123,456,789.00)
-5.00010.00-5.00
-5.0001$#,##0-$5
-5.0001($#,##0.00)-($5.00)
49#,###.0049.00

Percentage

Input NumberFormat CodeOutput
1234567890%12345678900%
1234567890.0%12345678900.0%
1234567890.00%12345678900.00%
1234567890.00000%12345678900.00000%

Conditional Formatting - Negative Colored Red

Input NumberFormat CodeOutput
1234567890;[Red]0123456789
1234567890.00;[Red]0.00123456789.00
123456789#,##0.00;[Red]#,##0.00123,456,789.00
-123456789.756458(“$”#,##0.00);[Red](“$”#,##0.00)($123,456,789.76)

Conditional Formatting - Negative In Parenthesis

Input NumberFormat CodeOutput
-123456789.343$#,##0;($#,##0)($123,456,789)
-123456789.343“$”#,##0.00;(“$”#,##0.00)($123,456,789.34)
123456789$#,##0.00;[Red]($#,##0.00)($123,456,789.00)

Date & Time Format Examples

Datetime formats can consists of two parts: a date and a time. The format should include the the date first followed by the time. The date part can be in the order of [year, month, day] or [month, day, year]

The time part must be in the order of hour, minutes, seconds, fractional seconds.

Since the Dataframe is focused on speed it has fewer codes for converting dates. The Spreadsheet & Charts have the full set of codes since they are focused on visual communication

Date Code Syntax

CodeResultDetailsNote
yyyear2 digit
yyyyyear4 digit
mmonth1 digit - 2 if needed
mmmonth2 digit
mmmmonthshort form textSpreadsheet & Charts Only
mmmmmonthtextSpreadsheet & Charts Only
dday1 digit - 2 if needed
ddday2 digit
ddddayshort form textSpreadsheet & Charts Only
dddddaytextSpreadsheet & Charts Only
h12-hour
H24-hour
mminute
sseconds
mssmilliseconds
ussmicroseconds
nssnanoseconds
ampmam or pm
AMPMAM or PM

Examples: Spreadsheet, Charts & Dataframe Codes

Format CodeResultNote
m/d/yy1/1/20
mm/dd/yy01/01/20
m/d/yyyy1/1/2020
mm/d/yyyy01/1/2020
m-d-yy1-1-20
m-d-yyyy1-1-2020
mm-d-yyyy01-1-2020
m-d-yy1-1-20
m-d-yyyy1-1-2020
mm-d-yyyy01-1-2020
yyyy/m/d2023/1/1
m/d/yyyy h:m14/1/2023 10:45
m/d/yyyy h:m:s14/1/2023 10:45:00
m/d/yyyy h:m:s ampm14/1/2023 15:45:00 pm
mmdyyyy H:mm:ss.mss2020-01-01 12:00:00.000milliseconds
mmdyyyy H:mm:ss.uss2020-01-01 12:00:00.000microseconds
mmdyyyy H:mm:ss.nss2020-01-01 12:00:00.000000000nanoseconds
m-d-yyyyTh:m:s.mss1-1-2020T06:00:23.45679milliseconds
m/d/yyyy h:m:s.mss AMPM1/1/23 10:45 AMmilliseconds
mn/dd/yyyy h:m:s.mss ampm01/01/23 10:45 ampmmilliseconds
mm/dd/yyyy h:m:s ampm01/01/23 10:45 PM
d-m-yyyy H:m31-12-1990 18:30
d-m-yy H:m31-12-90 18:30
d/m/yyyy HH:mm:ss14/03/2006 13:27:54
mdyy1120
mdyyyy112020
mmdyyyy0112020
d/m/yyyy4/3/2006
dd/mm/yyyy04/03/2006

Examples: Spreadsheet & Charts Only

Format CodeResult
dddFri
ddddFriday
mmmSept
mmmmSeptember
mmmm d - yyyySeptember 1 - 2020
dddd mmmm d - yyyyTuesday September 1 - 2020
m/ddd/yyyy1/Wed/2025
m/dddd/yyyy1/Wednesday/2025
ESC