Preskoči na glavno vsebino

Kako omejiti število decimalnih mest v formuli v Excelu?

Na primer, v Excelu seštejete obseg in dobite vrednost vsote s štirimi decimalnimi mesti. To vrednost vsote boste morda pomislili na eno decimalno mesto v pogovornem oknu Oblika celic. Pravzaprav lahko v formuli neposredno omejite število decimalnih mest. Ta članek govori o omejevanju števila decimalnih mest z ukazom Format Cells in omejevanju števila decimalnih mest s formulo Round v Excelu.

Omejite število decimalnih mest z ukazom Format Cell v Excelu

Običajno lahko formatiramo celice, da v Excelu enostavno omejimo število decimalnih mest.

1. Izberite celice, za katere želite omejiti število decimalnih mest.

2. Z desno miškino tipko kliknite izbrane celice in izberite Oblikuj celice v meniju z desnim klikom.

3. V prihajajočem pogovornem oknu Format Cells pojdite na Število kliknite, da označite Število v Kategorija in nato v polje vnesite številko Decimalna mesta škatla.
Če želite na primer omejiti samo 1 decimalno mesto za izbrane celice, samo vnesite 1 v Decimalna mesta škatla. Oglejte si spodnji posnetek zaslona:

4. kliknite OK v pogovornem oknu Format Cells. Nato boste videli, da se vse decimalne številke v izbranih celicah spremenijo na eno decimalno mesto natančno.

Opomba: Po izbiri celic lahko kliknete Povečaj decimalno Gumb  or Zmanjšaj decimalno Gumb  neposredno v Število skupina na Domov zavihek, če želite spremeniti decimalna mesta.

Preprosto omejite število decimalnih mest v več formulah v Excelu

Na splošno lahko uporabite = Round (original_formula, num_digits), da enostavno omejite število decimalnih mest v eni formuli. Vendar bo ročno spreminjanje več formul eno za drugo precej dolgočasno in dolgotrajno. Tukaj uporabite funkcijo delovanja Kutools za Excel, lahko enostavno omejite število decimalnih mest v več formulah!


Kutools za Excel - Napolnite Excel z več kot 300 osnovnimi orodji. Uživajte v 30-dnevnem BREZPLAČNEM preskusu s polnimi funkcijami brez kreditne kartice! Get It Now

Omejite število decimalnih mest v formulah v Excelu

Recimo, da izračunate vsoto niza števil in želite v formuli omejiti število decimalnih mest za to vrednost vsote, kako bi lahko to naredili v Excelu? Poskusite s funkcijo Round.

Osnovna sintaksa formule Round je:

= ROUND (število, števke-številke)

Če želite združiti funkcijo Round in drugo formulo, je treba sintakso formule spremeniti v

= Okrogla (izvirna_formula, števke-številke)

V našem primeru želimo za vrednost vsote omejiti eno decimalno mesto, zato lahko uporabimo spodnjo formulo:

= KROG (VSEBINA (B2: B11), 1)


Omejite število decimalnih mest v več formulah v razsutem stanju

Če imate Kutools za Excel nameščen, lahko uporabite njegovo operacija funkcija za množično spreminjanje več vnesenih formul, na primer nastavitev zaokroževanja v Excelu. Naredite naslednje:

Kutools za Excel- Vključuje več kot 300 priročnih orodij za Excel. 30-dnevna brezplačna preizkusna različica brez kreditne kartice! Get It Now

1. Izberite celice formule, katerih decimalna mesta morate omejiti, in kliknite Kutools > Več > operacija.

2. V pogovornem oknu Operacijska orodja kliknite, da označite Zaokroževanje v operacija v seznamsko polje vnesite število decimalnih mest v Operand in preverite Ustvari formule možnost.

3. kliknite Ok gumb.

Zdaj boste videli, da so vse celice formule v velikem obsegu zaokrožene na določena decimalna mesta. Oglejte si posnetek zaslona:

Nasvet: Če morate več celic formule zaokrožiti navzdol ali zaokrožiti v večjem obsegu, lahko nastavite na naslednji način: v pogovornem oknu Operacijska orodja, (1) izberite po meri v polju s seznamom Operation, (2) tip = ROUNDUP (?, 2) or = OKROGLO (?, 2) v po meri oddelek in (3) preverite Ustvari formule možnost. Oglejte si posnetek zaslona:


Preprosto omejite število decimalnih mest v več formulah v Excelu

Značilnost Decimal običajno lahko zmanjša decimalna mesta v celicah, vendar se dejanske vrednosti, prikazane v vrstici s formulami, sploh ne spremenijo. Kutools za ExcelJe Okrogla pripomoček vam lahko pomaga z lahkoto zaokrožiti vrednosti navzgor / navzdol / na celo do določenih decimalnih mest.

Kutools za Excel- Vključuje več kot 300 priročnih orodij za Excel. 60-dnevna brezplačna preizkusna različica brez kreditne kartice! Get It Now

Ta metoda bo celice formule zaokrožila na določeno število decimalnih mest v velikem obsegu. Vendar bo iz teh celic formule odstranil formule in ohranil le rezultate zaokroževanja.


Predstavitev: omejite število decimalnih mest v formuli v Excelu

Kutools za Excel: Več kot 300 priročnih orodij na dosegu roke! Začnite 30-dnevno brezplačno preskusno obdobje brez omejitev funkcij še danes. Download Now!

Sorodni članki:

Najboljša pisarniška orodja za produktivnost

🤖 Kutools AI Aide: Revolucionirajte analizo podatkov na podlagi: Inteligentna izvedba   |  Ustvari kodo  |  Ustvarite formule po meri  |  Analizirajte podatke in ustvarite grafikone  |  Prikličite funkcije Kutools...
Priljubljene funkcije: Poiščite, označite ali identificirajte dvojnike   |  Izbriši prazne vrstice   |  Združite stolpce ali celice brez izgube podatkov   |   Krog brez formule ...
Super iskanje: Več kriterijev VLookup    Multiple Value VLookup  |   VLookup na več listih   |   Nejasno iskanje ....
Napredni spustni seznam: Hitro ustvarite spustni seznam   |  Odvisni spustni seznam   |  Večkrat izberite spustni seznam ....
Upravitelj stolpcev: Dodajte določeno število stolpcev  |  Premakni stolpce  |  Preklop stanja vidnosti skritih stolpcev  |  Primerjaj obsege in stolpce ...
Predstavljene funkcije: Mrežni fokus   |  Pogled oblikovanja   |   Velika vrstica formule    Upravitelj delovnih zvezkov in listov   |  Knjižnica virov (Samodejno besedilo)   |  Izbirnik datuma   |  Združite delovne liste   |  Šifriranje/dešifriranje celic    Pošljite e-pošto po seznamu   |  Super filter   |   Poseben filter (filter krepko/ležeče/prečrtano ...) ...
15 najboljših kompletov orodij12 Besedilo Orodja (dodajanje besedila, Odstrani znake,...)   |   50 + Graf Vrste (Gantt Chart,...)   |   40+ Praktično Formule (Izračunajte starost glede na rojstni dan,...)   |   19 vstavljanje Orodja (Vstavite kodo QR, Vstavi sliko s poti,...)   |   12 Pretvorba Orodja (Številke v besede, Pretvorba valut,...)   |   7 Spoji in razdeli Orodja (Napredne kombinirane vrstice, Razdeljene celice,...)   |   ... in več

Napolnite svoje Excelove spretnosti s Kutools za Excel in izkusite učinkovitost kot še nikoli prej. Kutools za Excel ponuja več kot 300 naprednih funkcij za povečanje produktivnosti in prihranek časa.  Kliknite tukaj, če želite pridobiti funkcijo, ki jo najbolj potrebujete...

Opis


Kartica Office prinaša vmesnik z zavihki v Office in poenostavi vaše delo

  • Omogočite urejanje in branje z zavihki v Wordu, Excelu, PowerPointu, Publisher, Access, Visio in Project.
  • Odprite in ustvarite več dokumentov v novih zavihkih istega okna in ne v novih oknih.
  • Poveča vašo produktivnost za 50%in vsak dan zmanjša na stotine klikov miške za vas!
Comments (15)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
this cnu
am using excel fo milk calculations

in 1 crate having 12/lit of milk.
if customar take 12/lit in total it shows 1 using,(=number1/number2)
if customar take 24/ in total it shows 2 using,(=number1/number2)
if customar take 36/ total it shows 3using,(=number1/number2)
but some customar take 15 or 22 or 35

if customar take 15 in total it shows 1.3
if customar take 22 in total it shows 1.10
if customar take35 in total it shows 2.11

i need formula for above calculation
This comment was minimized by the moderator on the site
try this:
=roundup(number1/number2,0)
This comment was minimized by the moderator on the site
'95,954,691.3389700060
When a put this data on excel, and quit the ' to turn it a number, excel, trucante the number after 5 decimal. The new number is 95,954,691.33897, but I need 10 decimals. How to resolve this?
This comment was minimized by the moderator on the site
Try this:

=TEXT(95954691.3389100060,"00,000,000.0000000000")
This comment was minimized by the moderator on the site
Ok, here is one I really need help with since it would ease my job a lot. I have a table where i need most of my cells to have 2 decimals. One of the columns (lets say C) has to be A multiplied by B, but with a little text following the result of the multiplication, hence i gave it a:
A*B & "text" formula
My problem is that if result of A*B is 3 or 3.1 it will appear just like that: "3 text" or "3.1 text", but i really need it as "3.00 text"/ "3.10text".
Any tips?
This comment was minimized by the moderator on the site
Try this:

=TEXT(A*B,"0.00")&" text"
This comment was minimized by the moderator on the site
I want to set a limit whereas 0.60 is the threshold if the decimal reaches 0.60 it will automatically count as 1 and reset into decimal. The decimal represent the minutes and the whole number represent the hours. I'm presenting my data as numbers instead of timevalue. Hope anyone can help
This comment was minimized by the moderator on the site
Unfortunately it is not working if you concatenate:

I want to combine two cells A and B with many digits to A (B) with onlytwo digits.

I tried like that:
=CONCATENATE((ROUND(C4,1))," (",(Round(D4,1)),")")

It doesn't work and shows only the formula.
Can anyone help?
This comment was minimized by the moderator on the site
Hi yvonne Fabian,
Your formula works well in my Excel 2016.
This comment was minimized by the moderator on the site
how to deal with two decimal points e.g. 138.4622.472, 137.1416.113 etc. any way to get rid of .472 and .113 and so on
This comment was minimized by the moderator on the site
John, to round to 0 decimals, try use ROUND(CELL,0) and to round DOWN to the number, use INT (integer).
ROUND(12.5,0) = 13 ; INT(12.5) = 12
for the same but not to whole number but e.g. tenths, first multiply the baste number by 10, then ROUND/INT and then devide back by ten.
This comment was minimized by the moderator on the site
Here we are inserting the values in one cell(A1) and applying the formula in another cell(D1) (for example) and in that cell(D1) only we are getting the output , but I want to apply the formula in cell(A1) only so I can get the output in that cell (A1).
If I am doing this then I am not getting any output in the cell (A1).
Please help me to achieve this.
This comment was minimized by the moderator on the site
Hi Narsingh,
Kutools for Excel provides an Operation tools which can custom formula to selected cells. This feature may solve your problem.
This comment was minimized by the moderator on the site
Here we are inserting the values in one cell(A1) and applying the formula in another cell(D1) (for example) and in that cell(D1) only we are getting the output , but I want to apply the formula in cell(A1) only so I can get the output in that cell (A1).
If I am doing this then I am not getting any output in the cell (A1).
Please help me to achieve this.
This comment was minimized by the moderator on the site
thanks, this soo helpfull :-)
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations