Konvertera decimal till heltal i Excel
Denna handledning kommer att berätta hur du använder formler för att konvertera decimaltal till heltal i Excel.
Rund decimal till heltal
Generisk formel:
=ROUND(number,0) |
Argument
|
Anmärkningar
Decimaltalet avrundas uppåt om den första decimalsiffran> = 5, eller så avrundas den nedåt.
Exempel
Formel | Beskrivning | Resultat |
=ROUND(12.722,0)) | Runda 12.722 till heltal | 13 |
=ROUND(12.222,0) | Runda 12.222 till heltal | 11 |
=ROUND(12.5,0) | Runda 12.5 till heltal | 13 |
Rund decimal upp till heltal
Generisk formel:
=ROUNDUP(number,0) |
Argument
|
Anmärkningar
Smakämnen ROUNDUP funktionen avrundar decimaltal till närmaste heltal.
Exempel
Formel | Beskrivning | Resultat |
=ROUNDUP(1.03,0) | Runda 1.03 upp till närmaste heltal | 2 |
=ROUNDUP(1.92,0) | Runda 1.92 upp till närmaste heltal | 2 |
Runda decimal ner till heltal
Generisk formel:
=ROUNDDOWN(number,0) |
Argument
|
Anmärkningar
Smakämnen ROUNDDOWN funktionen avrundar decimaltal ner till närmaste heltal.
Exempel
Formel | Beskrivning | Resultat |
=ROUNDDOWN(123.234,0) | Runda 123.234 ner till heltal | 123 |
=ROUNDDOWN(123.662,0) | Runda 123.662 ner till heltal | 123 |
Provfil
Klicka för att ladda ner exempelfilen
Relativa funktioner
- Excel DECIMAL-funktion
DECIMAL-funktionen omvandlar en textrepresentation av ett tal i en bas till dess motsvarande decimaltal. Ta en instans, 11 är en textrepresentation av 3 i bas 2, med formeln = DECIMAL (11,2) omvandlar 11 till decimaltal 3.
Relativa formler
- Konvertera decimaltal till IP-adress
Om du har en rad decimaltal som 192168421 som du behöver konvertera till en IP-adress som192.168.42.1, hur kan du snabbt lösa detta jobb med en Excel-formel? I den här artikeln kommer det att introducera formler för att hantera detta jobb. - Konvertera binärt värde till decimal / oktal / hex
Ger några enkla formler för att konvertera binärt värde till decimaltal, oktalt värde eller hex-värde i Excel. - Konvertera decimalvärde till binärt / oktalt / hex
Den här artikeln introducerar formlerna för att konvertera decimaltal till binärt värde, oktalt värde eller hex-värde i Excel - Konvertera hex-värde till decimal / binärt / oktalt
Den här artikeln introducerar formlerna för att konvertera hexadecimala tal till decimalvalie, binärt värde eller oktalt värde i Excel
De bästa Office-produktivitetsverktygen
Kutools for Excel - Hjälper dig att sticka ut från mängden
Kutools for Excel har över 300 funktioner, Se till att det du behöver bara är ett klick bort...

Office Tab - Aktivera flikläsning och redigering i Microsoft Office (inklusive Excel)
- En sekund att växla mellan dussintals öppna dokument!
- Minska hundratals musklick åt dig varje dag, säg adjö till mushanden.
- Ökar din produktivitet med 50 % när du visar och redigerar flera dokument.
- Ger effektiva flikar till Office (inklusive Excel), precis som Chrome, Edge och Firefox.

Sort comments by

#42814
This comment was minimized by the moderator on the site
0
0

#42932
This comment was minimized by the moderator on the site
Report
0
0

#40602
This comment was minimized by the moderator on the site
0
0

#38955
This comment was minimized by the moderator on the site
0
0

#39041
This comment was minimized by the moderator on the site
Report
0
0

#35870
This comment was minimized by the moderator on the site
0
0

#40183
This comment was minimized by the moderator on the site
0
0

#38111
This comment was minimized by the moderator on the site
0
0

#35545
This comment was minimized by the moderator on the site
0
0

#40180
This comment was minimized by the moderator on the site
0
0

#34946
This comment was minimized by the moderator on the site
0
0

#33936
This comment was minimized by the moderator on the site
0
0

#33937
This comment was minimized by the moderator on the site
0
0

#31663
This comment was minimized by the moderator on the site
0
0

#31664
This comment was minimized by the moderator on the site
Report
0
0
There are no comments posted here yet