Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Copy parts of a number

If I have a cell with a digit 123,4567 - how can I copy the content of the
cell to another cell with only two digits after the comma. In other words - I
only want 123,45 to appear in the new cell.

Is there any way to use a "round off" functionality?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default Copy parts of a number

Well, I wonder if it is really a 'number'...?

Seems to be text as written and if 123,4567 copied and pasted from the post
to Excel it shows as 1,234,567.

So pasted in a text formatted cell you can use =LEFT(A1,6) to return 123,45.

HTH
Regards,
Howard

"GeniE" wrote in message
...
If I have a cell with a digit 123,4567 - how can I copy the content of the
cell to another cell with only two digits after the comma. In other
words - I
only want 123,45 to appear in the new cell.

Is there any way to use a "round off" functionality?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,045
Default Copy parts of a number

On Sat, 5 Jun 2010 00:14:26 -0700, GeniE
wrote:

If I have a cell with a digit 123,4567 - how can I copy the content of the
cell to another cell with only two digits after the comma. In other words - I
only want 123,45 to appear in the new cell.

Is there any way to use a "round off" functionality?


What are your settings for the "decimal point". If it is a comma,
then:

=round(a1,2) or =round(a1;2) depending on your separator.

If it is really a text string, then

=LEFT(A1,FIND(",",A1)+2)

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto number for a parts list. Heroplumber Excel Discussion (Misc queries) 1 May 23rd 09 05:54 PM
breaking down a whole number into pre-defined parts.. GD Excel Discussion (Misc queries) 4 February 2nd 09 01:21 PM
Copy parts of a data range into a new spreadsheet forest8 Excel Worksheet Functions 4 April 21st 08 08:26 PM
Split a number in a cell into parts okanem Excel Discussion (Misc queries) 4 August 21st 06 03:59 PM
Copy parts of cell Mike Mike Excel Discussion (Misc queries) 1 April 18th 06 01:00 PM


All times are GMT +1. The time now is 03:53 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"