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.


Szintaxis

CONVERT(Number; FromUnit; ToUnit)

Number is the number to be converted.

FromUnit is the unit from which conversion is taking place.

ToUnit is the unit to which conversion is taking place. Both units must be of the same type.

warning

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


Példák

=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).

Mértékegységek

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.


Terület

note

Some measurement units have more than one accepted symbol. The accepted unit symbols are separated by semicolons in the Unit symbol column.


Egységszimbólum

Leírás

Előtag

"ang2" ; "ang^2"

Négyzetangström

Igen

"ar"

Ár

Igen

"ft2" ; "ft^2"

Négyzetláb

Nem

"ha"

Hektár

Nem

"in2" ; "in^2"

Négyzethüvelyk

Nem

"ly2" ; "ly^2"

Négyzetfényév

Nem

"m2" ; "m^2"

Négyzetméter

Igen

"mi2" ; "mi^2"

Nemzetközi négyzetmérföld

Nem

"Morgen"

Német hold

Nem

"Nmi2" ; "Nmi^2"

Tengeri négyzetmérföld

Nem

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

Négyzetpicapont

Nem

"pica2" ; "pica^2"

Négyzetpica

Nem

"uk_acre" ; "acre"

Nemzetközi hold

Nem

"us_acre"

US survey acre

Nem

"yd2" ; "yd^2"

Négyzetyard

Nem


Energia

Egységszimbólum

Leírás

Előtag

"BTU" ; "btu"

British thermal unit

Nem

"c"

Termokémiai kalória

Igen

"cal"

International Steam Table calorie

Igen

"e"

erg

Igen

"eV" ; "ev"

Elektronvolt

Igen

"flb"

Foot-pound

Nem

"HPh" ; "hh"

Lóerő-óra

Nem

"J"

Joule

Igen

"Wh" ; "wh"

Wattóra

Igen


Fluxussűrűség

Egységszimbólum

Leírás

Előtag

"ga"

Gauss

Igen

"T"

Tesla

Igen


Erő

Egységszimbólum

Leírás

Előtag

"dyn" ; "dy"

Din

Igen

"N"

Newton

Igen

"lbf"

Fonterő

Nem

"pond"

Pond

Igen


Információ

Egységszimbólum

Leírás

Előtag

"bit"

Bit

Igen

"byte"

Bájt

Igen


Hossz és távolság

Egységszimbólum

Leírás

Előtag

"ang"

Ångström

Igen

"ell"

Rőf

Nem

"ft"

Láb

Nem

"in"

Hüvelyk

Nem

"ly" ; "lightyear"

Fényév

Igen

"m"

Méter

Igen

"mi"

Mérföld

Nem

"Nmi"

Tengeri mérföld

Nem

"parsec" ; "pc"

Parszek

Igen

"Pica" ; "picapt"

Picapont

Nem

"pica"

Pica

Nem

"survey_mi"

US survey mile

Nem

"yd"

Yard

Nem


Tömeg és súly

Egységszimbólum

Leírás

Előtag

"cwt" ; "shweight"

Amerikai mázsa

Nem

"g"

Gramm

Igen

"grain"

Grain

Nem

"lbm"

Font

Nem

"ozm"

Uncia

Nem

"pweight"

Pennyweight

Nem

"sg"

Slug

Nem

"stone"

Stone

Nem

"ton"

Amerikai tonna

Nem

"u"

Atomi tömegegység

Igen

"uk_cwt" ; "lcwt" ; "hweight"

Angol mázsa

Nem

"uk_ton" ; "LTON" ; "brton"

Angol tonna

Nem


Teljesítmény

Egységszimbólum

Leírás

Előtag

"HP" ; "h"

Gépi lóerő

Nem

"PS"

Metrikus lóerő

Nem

"W" ; "w"

Watt

Igen


Nyomás

Egységszimbólum

Leírás

Előtag

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

Standard légköri nyomás

Igen

"mmHg"

Higanymilliméter

Igen

"Pa"

Pascal

Igen

"psi"

Font/négyzethüvelyk

Nem

"Torr"

Torr

Nem


warning

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


Sebesség

Egységszimbólum

Leírás

Előtag

"admkn"

Angol csomó

Nem

"kn"

Nemzetközi csomó

Nem

"m/h" ; "m/hr"

Méter/óra

Igen

"m/s" ; "m/sec"

Méter/másodperc

Igen

"mph"

Mérföld/óra

Nem


Hőmérséklet

Egységszimbólum

Leírás

Előtag

"C" ; "cel"

Celsius fok

Nem

"F" ; "fah"

Fahrenheit fok

Nem

"K" ; "kel"

Kelvin

Igen

"Rank"

Rankine fok

Nem

"Reau"

Réaumur fok

Nem


Idő

Egységszimbólum

Leírás

Előtag

"day" ; "d"

Nap

Nem

"hr"

Óra

Nem

"mn" ; "min"

Perc

Nem

"sec" ; "s"

Másodperc

Igen

"yr"

Év

Nem


Térfogat

Egységszimbólum

Leírás

Előtag

"ang3" ; "ang^3"

Köbangström

Igen

"barrel"

Olajhordó

Nem

"bushel"

Amerikai bushel

Nem

"cup"

Amerikai bögre

Nem

"ft3" ; "ft^3"

Köbláb

Nem

"gal"

Amerikai gallon

Nem

"Glass"(2)

Ausztrál pohár (200 milliliter)

Nem

"GRT" ; "regton"

Gross register tonnage

Nem

"Humpen"(2)

Humpen (500 milliliter)

Nem

"in3" ; "in^3"

Köbhüvelyk

Nem

"l" ; "L" ; "lt"

Liter

Igen

"ly3" ; "ly^3"

Köbfényév

Nem

"m3" ; "m^3"

Köbméter

Igen

"mi3" ; "mi^3"

Nemzetközi köbmérföld

Nem

"Middy"(2)

Ausztrál pohár (285 milliliter)

Nem

"MTON"

Mérési tonna

Nem

"Nmi3" ; "Nmi^3"

Tengeri köbmérföld

Nem

"oz"

Amerikai folyadékuncia

Nem

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

Cubic pica point

Nem

"pica3" ; "pica^3"

Köbpica

Nem

"pt" ; "us_pt"

Amerikai pint

Nem

"qt"

Amerikai quart

Nem

"Schooner"(2)

Ausztrál korsó (425 milliliter)

Nem

"Sixpack"(2)

Hatos csomag (2 liter)

Nem

"tbs"

Amerikai evőkanál

Nem

"tsp"

Amerikai teáskanál

Nem

"tspm"

Metrikus teáskanál

Nem

"uk_gal"

Birodalmi gallon

Nem

"uk_pt"

Birodalmi pint

Nem

"uk_qt"

Birodalmi quart

Nem

"yd3" ; "yd^3"

Köbyard

Nem


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.


Előtagok

Decimális előtagok

Előtag

Szorzó

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


Bináris előtagok

Előtag

Szorzó

Yi (yobi)

280

Zi (zebi)

270

Ei (exbi)

260

Pi (pebi)

250

Ti (tebi)

240

Gi (gibi)

230

Mi (mebi)

220

ki (kibi)

210


Technikai információk

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

Támogasson minket!