Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login

POZE MRRRR'S FORUM (VIEW ONLY)

Nu sunteti logat.
Nou pe simpatie:
Bianca777
Femeie
19 ani
Brasov
cauta Barbat
19 - 61 ani
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides / [EXCEL] Formula That Prevents Rounding Up Numbers with Decimals Moderat de TRaP, TonyTzu
Autor
Mesaj Pagini: 1
Mrrrr
AdMiN

Inregistrat: acum 17 ani
Postari: 2186
For example, say in A2 you have a number with multiple decimals like 14,52790042, but want to show only 2 decimals and you don't want it rounded up as it would normally be?

Use =TRUNC(A2;2)

Can't use the TRUNC function?

Use =IF(IF(A2=INT(A2);0;LEN(MID(A2-INT(A2);FIND(",";A2;1);LEN(A2)-FIND(",";A2;1))))>2;LEFT(A2;LEN(A2)-IF(A2=INT(A2);0;LEN(MID(A2-INT(A2);FIND(",";A2;1);LEN(A2)-FIND(",";A2;1))))+2);"")


_______________________________________


pus acum 10 luni
   
Pagini: 1  

Mergi la