Home

Gramm in Kilogramm anzeigen

%3CLINGO-SUB%20id%3D%22lingo-sub-562540%22%20slang%3D%22de-DE%22%3EView%20grams%20in%20kilograms%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-562540%22%20slang%3D%22de-DE%22%3E%3CP%3EI%20want%20to%20display%20a%20column%20of%20grams%20of%20information%20in%20kilograms%2C%20as%20the%20target%20database%20only%20accepts%20KG.%20Who%20can%20help%20me%3F%20Do%20I%20need%20a%20special%20format%3F%20Or%20do%20I%20have%20to%20convert%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-562540%22%20slang%3D%22de-DE%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-562563%22%20slang%3D%22en-US%22%3ERE%3A%20Gramm%20in%20Kilogramm%20anzeigen%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-562563%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20need%20to%20convert%20the%20value.%3C%2FP%3E%3CP%3EIt%20is%20possible%20to%20display%20the%20grams%20as%20kg%20using%20the%20number%20format%3C%2FP%3E%3CP%3E%3CSTRONG%3E0.000%2C%20%22kg%22%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3Ebut%20this%20does%20not%20change%20the%20underlying%20number.%26nbsp%3B%20For%20that%20you%20need%20a%20formula%20such%20as%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3D%20CONVERT(mass%2C%22g%22%2C%22kg%22)%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3D%20mass%20%2F%201000%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3Eor%20if%20you%20want%20the%20result%20as%20text%20rather%20than%20a%20number%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3D%20TEXT(mass%2C%20%220.000%2C%22)%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
_muel
Visitor

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,")