Decimal Places

  • Thread starter college student ATL
  • Start date
C

college student ATL

If I have a number in a cell (e.g., 3.456), how can I return just the decimal
part of it (0.456) to another cell? Conversely, if I have Cell 1 = 50 and
Cell 2 = 55, how can I join them in a new cell to make the number 50.55?
 
T

Teethless mama

Your second formula fail, if

A1= 50
A2= 578

=A1+A2/100
Your formula returns 55.78, should be 50.578

Teethless mama formula return 50.578
=A1+A2/(10^LEN(A2))
 
J

JE McGimpsey

Slightly more efficient:

=--(A1&"."&A2)

Teethless mama said:
Your second formula fail, if

A1= 50
A2= 578

=A1+A2/100
Your formula returns 55.78, should be 50.578

Teethless mama formula return 50.578
=A1+A2/(10^LEN(A2))
 
Top