CONVERT function

Converts a value from one unit of measurement to the corresponding value in another unit of measurement. Enter the units of measurement directly as text in quotation marks or as a reference. The units of measurement specified through the arguments must match the supported unit symbols, which are case-sensitive. For example, the symbol for the unit "newton" is the uppercase "N".

The measurement units recognized by CONVERT fall into 13 groups, which are listed below. CONVERT will perform conversions between any two units within one group but reject any request to convert between units in different groups.

You can also add binary and decimal prefixes to units of measurement that support them. The list of all prefixes and their corresponding multipliers are shown below.

warning

This function may not be compatible with other spreadsheet software.


Sintaksis

CONVERT(Number; FromUnit; ToUnit)

Nilai adalah nilai yang akan diperiksa.

DariUnit adalah unit dari mana konversi berlangsung.

ToUnit adalah unit tempat konversi dilakukan. Kedua unit harus dari tipe yang sama.

warning

If FromUnit and ToUnit are not valid units from the same group, then CONVERT reports an invalid argument error (Err:502).


Contoh

=CONVERT(-10; "C"; "F")

Here the function converts -10 degrees Celsius to degrees Fahrenheit, returning the value 14. There is not a simple multiplicative relationship between temperature units, as different reference points are used. Hence, as in this case, an input negative number may be converted to a positive value.

=CONVERT(3.5; "mi"; "yd")

Here the function converts 3.5 international miles to yards, returning the value 6160. Both units are in the Length and distance group.

=CONVERT(256; "Gibit"; "Mibyte")

Here the function converts 256 gigibits to mebibytes, returning the value 32768. Both units (bit and byte) are in the Information group and support binary prefixes.

=CONVERT(1; "dyn"; "e")

Here the function returns an invalid argument error (Err:502) because the two units (dyne and erg) are in different groups (Force and Energy respectively).

Units of measurement

Below are the unit measurement groups supported by the CONVERT function. Be aware that conversions can only happen between units that belong to the same group.

note

The column Prefix indicates whether or not a given unit of measurement supports prefixes.


Wilayah

note

Beberapa unit pengukuran memiliki lebih dari satu simbol yang diterima. Simbol satuan yang diterima dipisahkan oleh titik koma di kolom Simbol satuan.


Simbol satuan

Keterangan

Awalan

"ang2" ; "ang^2"

Square angstrom

Ya

"ar"

Are

Ya

"ft2" ; "ft^2"

Square foot

Tidak

"ha"

Hectare

Tidak

"in2" ; "in^2"

Square inch

Tidak

"ly2" ; "ly^2"

Square light-year

Tidak

"m2" ; "m^2"

Square meter

Ya

"mi2" ; "mi^2"

Square international mile

Tidak

"Morgen"

Morgen

Tidak

"Nmi2" ; "Nmi^2"

Square nautical mile

Tidak

"Pica2" ; "Pica^2" ; "picapt2" ; "picapt^2"

Square pica point

Tidak

"pica2" ; "pica^2"

Square pica

Tidak

"uk_acre" ; "acre"

International acre

Tidak

"us_acre"

US survey acre

Tidak

"yd2" ; "yd^2"

Square yard

Tidak


Energi

Simbol satuan

Deskripsi

Awalan

"BTU" ; "btu"

British thermal unit

Tidak

"c"

Thermochemical calorie

Ya

"cal"

International Steam Table calorie

Ya

"e"

erg

Ya

"eV" ; "ev"

Electron volt

Ya

"flb"

Foot-pound

Tidak

"HPh" ; "hh"

Horsepower-hour

Tidak

"J"

Joule

Ya

"Wh" ; "wh"

Watt-hour

Ya


Flux density

Simbol satuan

Deskripsi

Awalan

"ga"

Gauss

Ya

"T"

Tesla

Ya


Kekuatan

Simbol satuan

Deskripsi

Awalan

"dyn" ; "dy"

Dyne

Ya

"N"

Newton

Ya

"lbf"

Pound-force

Tidak

"pond"

Pond

Ya


Informasi

Simbol satuan

Deskripsi

Awalan

"bit"

Bit

Ya

"byte"

Byte

Ya


Length and distance

Simbol satuan

Deskripsi

Awalan

"ang"

Angstrom

Ya

"ell"

Ell

Tidak

"ft"

Kaki

Tidak

"in"

Inci

Tidak

"ly" ; "lightyear"

Light-year

Ya

"m"

Meter

Ya

"mi"

International mile

Tidak

"Nmi"

Nautical mile

Tidak

"parsec" ; "pc"

Parsec

Ya

"Pica" ; "picapt"

Pica point

Tidak

"pica"

Pica

Tidak

"survey_mi"

US survey mile

Tidak

"yd"

Yard

Tidak


Mass and weight

Simbol satuan

Deskripsi

Awalan

"cwt" ; "shweight"

Short hundredweight

Tidak

"g"

Gram

Ya

"grain"

Grain

Tidak

"lbm"

Pound

Tidak

"ozm"

Ounce

Tidak

"pweight"

Pennyweight

Tidak

"sg"

Slug

Tidak

"stone"

Batu

Tidak

"ton"

Short ton

Tidak

"u"

Unified atomic mass unit

Ya

"uk_cwt" ; "lcwt" ; "hweight"

Long hundredweight

Tidak

"uk_ton" ; "LTON" ; "brton"

Long ton

Tidak


Pangkat

Simbol satuan

Deskripsi

Awalan

"HP" ; "h"

Mechanical horsepower

Tidak

"PS"

Pferdestärke or metric horsepower

Tidak

"W" ; "w"

Watt

Ya


Tekanan

Simbol satuan

Deskripsi

Awalan

"atm" ; ("at")(1)

Standard atmosphere

Ya

"mmHg"

Millimeter of mercury

Ya

"Pa"

Pascal

Ya

"psi"

Pound per square inch

Tidak

"Torr"

Torr

Tidak


warning

1 - The "at" unit is deprecated. Use "atm" instead.


Kecepatan

Simbol satuan

Deskripsi

Awalan

"admkn"

Admiralty knot

Tidak

"kn"

International knot

Tidak

"m/h" ; "m/hr"

Meters per hour

Ya

"m/s" ; "m/sec"

Meters per second

Ya

"mph"

Miles per hour

Tidak


Suhu

Simbol satuan

Deskripsi

Awalan

"C" ; "cel"

Degree Celsius

Tidak

"F" ; "fah"

Degree Fahrenheit

Tidak

"K" ; "kel"

Kelvin

Ya

"Rank"

Degree Rankine

Tidak

"Reau"

Degree Réaumur

Tidak


Waktu

Simbol satuan

Deskripsi

Awalan

"day" ; "d"

Hari

Tidak

"hr"

Jam

Tidak

"mn" ; "min"

Menit

Tidak

"sec" ; "s"

Detik

Ya

"yr"

Tahun

Tidak


Volume

Simbol satuan

Deskripsi

Awalan

"ang3" ; "ang^3"

Cubic angstrom

Ya

"barrel"

Oil barrel

Tidak

"bushel"

US bushel

Tidak

"cup"

US cup

Tidak

"ft3" ; "ft^3"

Cubic foot

Tidak

"gal"

US gallon

Tidak

"Glass"(2)

Australian glass (200 milliliters)

Tidak

"GRT" ; "regton"

Gross register tonnage

Tidak

"Humpen"(2)

Humpen (500 milliliters)

Tidak

"in3" ; "in^3"

Cubic inch

Tidak

"l" ; "L" ; "lt"

Liter

Ya

"ly3" ; "ly^3"

Cubic light-year

Tidak

"m3" ; "m^3"

Cubic meter

Ya

"mi3" ; "mi^3"

Cubic international mile

Tidak

"Middy"(2)

Australian middy (285 milliliters)

Tidak

"MTON"

Measurement ton

Tidak

"Nmi3" ; "Nmi^3"

Cubic nautical mile

Tidak

"oz"

US fluid ounce

Tidak

"Pica3" ; "Pica^3" ; "picapt3" ; "picapt^3"

Cubic pica point

Tidak

"pica3" ; "pica^3"

Cubic pica

Tidak

"pt" ; "us_pt"

US pint

Tidak

"qt"

US quart

Tidak

"Schooner"(2)

Australian schooner (425 milliliters)

Tidak

"Sixpack"(2)

Six pack (2 liters)

Tidak

"tbs"

US tablespoon

Tidak

"tsp"

US teaspoon

Tidak

"tspm"

Metric teaspoon

Tidak

"uk_gal"

Imperial gallon

Tidak

"uk_pt"

Imperial pint

Tidak

"uk_qt"

Imperial quart

Tidak

"yd3" ; "yd^3"

Cubic yard

Tidak


note

2 - These units are not part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard for the CONVERT function. They are preserved for backward compatibility.


Prefixes

Decimal prefixes

Awalan

Penilaian Pengali

Y (yotta)

1024

Z (zetta)

1021

E (exa)

1018

P (peta)

1015

T (tera)

1012

G (giga)

109

M (mega)

106

k (kilo)

103

h (hecto)

102

e (deca)

101

d (deci)

10-1

c (centi)

10-2

m (milli)

10-3

u (micro)

10-6

n (nano)

10-9

p (pico)

10-12

f (femto)

10-15

a (atto)

10-18

z (zepto)

10-21

y (yocto)

10-24


Binary prefixes

Awalan

Penilaian Pengali

Yi (yobi)

280

Zi (zebi)

270

Ei (exbi)

260

Pi (pebi)

250

Ti (tebi)

240

Gi (gibi)

230

Mi (mebi)

220

ki (kibi)

210


Technical information

This function is not part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

ORG.OPENOFFICE.CONVERT

Mohon dukung kami!