Hoppa till huvudinnehåll

Hur justerar jag kolumnen med siffror efter decimal i Excel?

Ibland måste vi justera siffrorna med decimaler i en kolumn i kalkylbladet för att göra siffrorna snyggare och vackrare enligt följande skärmdump.

doc-align-numbers-1

I Excel kan vi rikta in kolumnen med decimaler med hjälp av Formatera celler fungera. I den här artikeln får du detaljerna.

Justera talkolumnen efter decimal i Excel


pil blå höger bubbla Justera talkolumnen efter decimal i Excel

För att justera talkolumnen efter decimal i Excel, gör så här:

1. Välj din nummerlista som du vill justera dem med decimal.

2. Högerklicka och välj Formatera celler från snabbmenyn, se skärmdump:

doc-align-numbers-1

3. Då, i Formatera celler dialogrutan, klicka Custom under Antal och ange det här 0. ???? itill Typ ruta, se skärmdump:

doc-align-numbers-1

Anmärkningar: Den ? står för antalet decimalsiffror, det beror på dina största decimalsiffror. Om den högsta decimalen är 5 behöver du bara ange fem frågetecken som du behöver.

4. Klicka sedan OK för att stänga den här dialogrutan kommer siffrorna i de valda cellerna att rada upp på decimaltecken för vänster-, mitt- och högerjustering. Se skärmdump:

doc-align-numbers-1

Anmärkningar: Om dina data innehåller heltal kommer de att läggas till ett prickmärke efter hela numret.

Bästa kontorsproduktivitetsverktyg

🤖 Kutools AI Aide: Revolutionera dataanalys baserat på: Intelligent utförande   |  Generera kod  |  Skapa anpassade formler  |  Analysera data och generera diagram  |  Anropa Kutools funktioner.
Populära funktioner: Hitta, markera eller identifiera dubbletter   |  Ta bort tomma rader   |  Kombinera kolumner eller celler utan att förlora data   |   Rund utan formel ...
Superuppslag: Flera kriterier VLookup    VLookup med flera värden  |   VSök över flera ark   |   Fuzzy Lookup ....
Avancerad rullgardinslista: Skapa snabbt en rullgardinslista   |  Beroende rullgardinslista   |  Flervals-rullgardinslista ....
Kolumnhanterare: Lägg till ett specifikt antal kolumner  |  Flytta kolumner  |  Växla synlighetsstatus för dolda kolumner  |  Jämför intervall och kolumner ...
Utvalda funktioner: Rutnätsfokus   |  Designvy   |   Stor formelbar    Arbetsbok & Bladhanterare   |  Resursbibliotek (Automatisk text)   |  Datumväljare   |  Kombinera arbetsblad   |  Kryptera/Dekryptera celler    Skicka e-postmeddelanden efter lista   |  Superfilter   |   Specialfilter (filtrera fet/kursiv/genomstruken...) ...
Topp 15 verktygssatser12 text verktyg (lägga till text, Ta bort tecken, ...)   |   50+ Diagram Typer (Gantt Chart, ...)   |   40+ Praktiskt Formler (Beräkna ålder baserat på födelsedag, ...)   |   19 Införande verktyg (Infoga QR-kod, Infoga bild från sökväg, ...)   |   12 Konvertering verktyg (Siffror till ord, Valutaväxling, ...)   |   7 Slå ihop och dela verktyg (Avancerade kombinera rader, Dela celler, ...)   |   ... och mer

Uppgradera dina Excel-färdigheter med Kutools för Excel och upplev effektivitet som aldrig förr. Kutools för Excel erbjuder över 300 avancerade funktioner för att öka produktiviteten och spara tid.  Klicka här för att få den funktion du behöver mest...

Beskrivning


Fliken Office ger ett flikgränssnitt till Office och gör ditt arbete mycket enklare

  • Aktivera flikredigering och läsning i Word, Excel, PowerPoint, Publisher, Access, Visio och Project.
  • Öppna och skapa flera dokument i nya flikar i samma fönster, snarare än i nya fönster.
  • Ökar din produktivitet med 50 % och minskar hundratals musklick för dig varje dag!
Comments (10)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
how do i line up decimals in numbers 519.7 and 4.093.. lol
This comment was minimized by the moderator on the site
Hello, moran,
Select the number cells, and then, you just need to enter 0.??? into the Format Cells dialog box.
Please try, thank you!
This comment was minimized by the moderator on the site
Has anyone found the answer to zylstra's question (how to get rid of the decimal point while keeping the alignment)?
This comment was minimized by the moderator on the site
Yes. I've done this. Although my post keeps getting removed.
This comment was minimized by the moderator on the site
Although not pixel-strict alignment, but almost indistinguishable from that:
Step 1:
Format Cells -> Number -> Custom -> "0.????"
Step 2:
Conditional Format ->
New Rule -> Use a formula -> "=B2=TRUNC(B2)"
Format... -> Number -> Custom -> "0 ________"
Applies to -> "=$B$2:$B$18"

Note 1: Number of '_'s is twice of number of '?'s.
Note 2: Symbol between '0' and '_' is U+2009 THIN SPACE
This comment was minimized by the moderator on the site
Although not pixel-strict alignment, but almost indistinguishable from that:
imgur: Y5DPdfS
Step 1:
Format Cells -> Number -> Custom -> "0.????"
imgur: 94q7vJH
Step 2:
Conditional Format ->
New Rule -> Use a formula -> "=B2=TRUNC(B2)"
imgur: LaTwE2Z
Format... -> Number -> Custom -> "0 ________"
imgur: GOcuE9M
Applies to -> "=$B$2:$B$18"
imgur: 953EWYh

Note 1: Number of '_'s is twice of number of '?'s.
Note 2: Symbol between '0' and '_' is U+2009 THIN SPACE (' ')
This comment was minimized by the moderator on the site
Any way to get rid of the decimal for whole numbers?
This comment was minimized by the moderator on the site
I've been looking for an answer to that question for a good while. I need a way to do this with custom number formatting and haven't found a solution. I don't have to say that often with Excel, but I don't think it's possible.
This comment was minimized by the moderator on the site
use "0.0???", to force a 0 after the decimal. "2." becomes "2.0"
This comment was minimized by the moderator on the site
Doesn't eliminate the decimal point for whole numbers.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations