Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default dropping whole numbers

cell result = 444.876543 How copy to another cell but drop the whole numbers?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 221
Default dropping whole numbers

=Mod(a1,1)
*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com


"Asheret" wrote in message
...
cell result = 444.876543 How copy to another cell but drop the whole

numbers?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default dropping whole numbers

Just to highlight the difference in VBA:

? 444.876543 mod 1
0

--
Regards,
Tom Ogilvy

"Anne Troy" wrote in message
news:83ac9$42c2bf32$97c5108d$8803@allthenewsgroups .com...
=Mod(a1,1)
*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com


"Asheret" wrote in message
...
cell result = 444.876543 How copy to another cell but drop the whole

numbers?




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 104
Default dropping whole numbers

Asheret,

If your number is in cell A1 and your result goes into B1.

In B1

= A1 - INT(A1)

will give you 0.876543.
Format B1 with custom format
..##############
to remove the leading zero.

Henry


"Asheret" wrote in message
...
cell result = 444.876543 How copy to another cell but drop the whole
numbers?



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
Summing numbers dropping lowest and highest SmartCookie Excel Worksheet Functions 2 April 7th 08 06:35 PM
zero "0" dropping from the beginning of my serial numbers Elton Jones Excel Worksheet Functions 3 December 18th 07 09:36 PM
Dropping 0 Peter F Excel Discussion (Misc queries) 5 December 14th 06 04:23 PM
How do I keep Excel from dropping my numbers to 0 after 15 digits Topmom5 Setting up and Configuration of Excel 1 May 19th 06 08:21 PM
Cells dropping last to numbers dickhob Excel Discussion (Misc queries) 1 January 11th 06 08:13 PM


All times are GMT +1. The time now is 04:54 PM.

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

About Us

"It's about Microsoft Excel"