Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / November 2005

Tip: Looking for answers? Try searching our database.

Delete first two digits in column

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rjtees - 17 Nov 2005 21:06 GMT
I need to delete 1 digit and then the decimal point, so that the # in the
cell is only what was after the decimal point (ie, 1.1100 to 1100).  I'v got
about 2000 rows and don't have time to delete them manually.
Duke Carey - 17 Nov 2005 21:11 GMT
use an adjacent column and enter a formula such as

WORK ON A COPY OF YOUR DATA

=100*(a2-int(a2))

Copy it down for all the target values.  When done, copy all these new
formulas, select the original data, and use Edit->Paste Special->Values.  
Then delete your formulas

> I need to delete 1 digit and then the decimal point, so that the # in the
> cell is only what was after the decimal point (ie, 1.1100 to 1100).  I'v got
> about 2000 rows and don't have time to delete them manually.
Duke Carey - 17 Nov 2005 21:19 GMT
Ignore that last answer -

use this formula instead

=RIGHT(A2,LEN(A2)-SEARCH(".",A2))*1

> use an adjacent column and enter a formula such as
>
[quoted text clipped - 9 lines]
> > cell is only what was after the decimal point (ie, 1.1100 to 1100).  I'v got
> > about 2000 rows and don't have time to delete them manually.
rjtees - 17 Nov 2005 21:22 GMT
Thank you so much, worked perfectly.  

> use an adjacent column and enter a formula such as
>
[quoted text clipped - 9 lines]
> > cell is only what was after the decimal point (ie, 1.1100 to 1100).  I'v got
> > about 2000 rows and don't have time to delete them manually.
Ron Rosenfeld - 17 Nov 2005 21:20 GMT
>I need to delete 1 digit and then the decimal point, so that the # in the
>cell is only what was after the decimal point (ie, 1.1100 to 1100).  I'v got
>about 2000 rows and don't have time to delete them manually.

Excel stores 1.1100 as 1.11.

If you always want to see as a positive integer the four places after the
decimal point, then use the formula:

=TRUNC(MOD(A1,1)*10^4)

If you want something else, you will need to be more specific.

--ron
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.