A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Copy parts of a number



 
 
Thread Tools Display Modes
  #1  
Old June 5th, 2010, 08:14 AM posted to microsoft.public.excel.misc
Genie
external usenet poster
 
Posts: 10
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?
Ads
  #2  
Old June 5th, 2010, 08:30 AM posted to microsoft.public.excel.misc
L. Howard Kittle
external usenet poster
 
Posts: 516
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  
Old June 5th, 2010, 12:36 PM posted to microsoft.public.excel.misc
Ron Rosenfeld[_2_]
external usenet poster
 
Posts: 9
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)

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:29 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2004-2018 OfficeFrustration.
The comments are property of their posters.