Simpatie.ro - matrimoniale
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.
Nou pe simpatie:
carmenitza Profile
Femeie
24 ani
Ialomita
cauta Barbat
24 - 48 ani
Mrrrr's Forum (VIEW ONLY)ReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides /

[EXCEL] Formula That Prevents Rounding Up Numbers with Decimals

Pagini: 1 Moderat de TRaP, TonyTzu
#1
Mrrrr
AdMiN
Postari: 2388
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);"")


_______________________________________


 
   
Pagini: 1  
Mergi la