=left of decimal

T

The Rook

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