=left of decimal

G

Guest

In column A I have a lift of numbers that are upto 10 decimal places. I
would like to populate column B with what is to the left of the decimal point
in column A in the same row.
Can this be done?
 
D

Dave Peterson

=int(a1)
will bring back the whole number portion of what's in A1.

Then copy that formula down as far as you need it.

If you wanted the decimal portion, you could use:
=a1-int(a1)
or
=mod(a1,1)
 

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

Top