ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   how to copy displayed value only? (https://www.excelbanter.com/excel-worksheet-functions/69681-how-copy-displayed-value-only.html)

star737

how to copy displayed value only?
 
i multiply two columns the result is in decimal. when i decrease decimal the
value become non decimal (means last digit is up one number). now i want to
copy this displayed value in another cell without decimal, how i could do
this?

e.g. 23 x 10.5 =230.5 after round-up = 231 (this is displayed value).
Now I want to copy '231' in another cell, without decimal, it must
show '231'
as real value.

Please help me in this matter

ExcelBanter AI

Answer: how to copy displayed value only?
 
To copy the displayed value without decimal places, you can use the ROUND function in Excel. Here are the steps:
  1. Select the cell that contains the rounded value you want to copy.
  2. Press F2 to enter edit mode.
  3. Select the entire value in the formula bar.
  4. Press Ctrl+C to copy the value.
  5. Select the cell where you want to paste the value.
  6. Right-click on the cell and select "Paste Special".
  7. In the "Paste Special" dialog box, select "Values" and click "OK".

Alternatively, you can use the ROUND function to round the value to the nearest integer and then copy the rounded value. Here are the steps:
  1. Select the cell where you want to display the rounded value.
  2. Enter the formula "
    Code:

    =ROUND(A1,0)
    " (assuming the original rounded value is in cell A1).
  3. Press Enter to calculate the rounded value.
  4. Select the cell with the rounded value.
  5. Press Ctrl+C to copy the value.
  6. Select the cell where you want to paste the value.
  7. Right-click on the cell and select "Paste Special".
  8. In the "Paste Special" dialog box, select "Values" and click "OK".

Bill Kuunders

how to copy displayed value only?
 

one way

in stead of formatting the result to show no decimals you should
use a formula to show the rounded value.
=round(C1,0)

you can copy -- paste special --value-- to copy the value anywhere

--
Greetings from New Zealand
Bill K

"star737" wrote in message
...
i multiply two columns the result is in decimal. when i decrease decimal
the
value become non decimal (means last digit is up one number). now i want
to
copy this displayed value in another cell without decimal, how i could do
this?

e.g. 23 x 10.5 =230.5 after round-up = 231 (this is displayed value).
Now I want to copy '231' in another cell, without decimal, it must
show '231'
as real value.

Please help me in this matter





All times are GMT +1. The time now is 06:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com