Get whole numbers

Solved
Ouri52 Posted messages 28 Status Member -  
 Khadi -
Hello,

I would like to be able to copy a column containing numbers with decimals and paste them into another column without any decimals in the formula bar. Changing the cell format to zero decimals is not enough.

Thank you.

Configuration: Windows / Chrome 40.0.2214.111

1 answer

  1. Vaucluse Posted messages 27336 Registration date   Status Contributor Last intervention   6 453
     
    Hello

    it all depends on what value you want

    to remove the decimals while keeping the whole number:
    for a value in A1, in B1:
    =INT(A1)
    for the nearest whole number:
    =ROUND(A1,0)
    in any case:
    drag the formula down and do a "special paste" on the column. The formulas will disappear and the values will be retained.

    best regards

    --
    To err is human, to persist is devilish
    2
    1. Ouri52 Posted messages 28 Status Member
       
      Thank you Vaucluse, that completely answers my question!!!
      0
    2. Khadi
       
      Thank you, it was helpful to me too :)
      0