Decimal Places

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
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))
 
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))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top