Gramm in Kilogramm anzeigen

Copper Contributor

Ich möchte eine Spalte mit Gramm Angaben in Kilogramm anzeigen, da die Zieldatenbank nur KG annimmt. Wer kann mir helfen? Da brauche ich ein Sonderformat? Oder muss ich umrechnen?

1 Reply

You need to convert the value.

It is possible to display the grams as kg using the number format

0.000, "kg"

but this does not change the underlying number.  For that you need a formula such as

= CONVERT(mass,"g","kg")

= mass / 1000

or if you want the result as text rather than a number

= TEXT(mass, "0.000,")