converting to Integers

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

Guest

I need to quickly convert a block of cells to integers.
For example a cell says 75.28954 and I need the cell to be 75
 
Or, use

=ROUND(A1,0)

INT will change 75.99 to 75, so depending on what your rounding scheme
is....

HTH,
Bernie
MS Excel MVP
 
One further question, I have a block of cell, A1:d20. How do I convert the
block quickly?
 
The quickest way would require VBA, but it only takes about 10 seconds to
enter that formula, say in E1, copy it down through H20, then copy E1:H20
and paste special as values over the original range.

If you're going to be doing this very frequently maybe a VBA solution would
be the most efficient.
 
In some empty columns, use the formulas you have been given
Select and Copy these cells
Select A1:D20 and use Edit | Paste Special -> Values
Now you can delete the cells with the formulas

best wishes
 

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