Sub topic 3
Time, Currency, and Locale Formats in Excel
Assume you can enter formulas, select ranges, and use the Format Cells dialog. Excel stores dates and times as numbers. A time is the fractional part of a day, so 6:00 is stored as 0.25.
Time and elapsed-time formats
Use h:mm to display a time of day. Use [h]:mm for elapsed time because the hour count can exceed 24.
h:mm
[h]:mmFor example, a stored value of 1.2604 represents 1 day and about 6 hours 15 minutes. h:mm displays 6:15, while [h]:mm displays 30:15.
Currency and Accounting formats
Currency and Accounting formats both show monetary values. Currency places the symbol next to the number. Accounting aligns symbols and decimal points in a column and commonly displays zero as a dash.
Choose Accounting for financial reports with aligned columns. Choose Currency for compact tables or labels.
_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)Regional settings and locale-specific formats
Regional settings affect decimal separators, date order, currency symbols, and names of months. A format such as the following requests the euro symbol with the German locale:
[$€-407] #,##0.00A workbook can display differently on another computer if its regional settings differ. Store values as numbers and dates, then apply an appropriate format instead of storing display text.
Formatting values inside text with TEXT
TEXT converts a value to formatted text. This is useful for labels, but the result is no longer numeric.
="Due: "&TEXT(A1,"yyyy-mm-dd")
="Total: "&TEXT(B1,"$#,##0.00")Converting text to numbers and dates
If arithmetic fails because a value is text, convert it explicitly:
=VALUE(A1)
=DATEVALUE("2026-11-27")
=TIMEVALUE("18:30")Check the result by applying a number or date format. DATEVALUE returns a date serial number that Excel can use in calculations.
Troubleshooting common format problems
####usually means the column is too narrow, or a negative date or time cannot be displayed. Widen the column first.- A formatted number may look rounded, but its stored value is unchanged. Use
ROUNDwhen the value itself must change. - If a date remains left-aligned or calculations fail, it may be text. Use
DATEVALUE,VALUE, or Text to Columns. - If hours wrap at 24, replace
h:mmwith[h]:mm.
Exercise
A cell contains a duration of 2 days and 3 hours. Which format displays 51:00?
Show answer
Apply the custom format [h]:mm.