Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default How do I keep numbers from rounding in a custom format?

I need to enter 17 digit account codes into a spreadsheet. the format I set
up to do this was including the hyphens that spearate various factors within
the account codes. However, when I enter the numbers, the last digit is
rounding down and I need it to stay the way I enter it. My limited
experimenting included formating the cells as text, but then I was forced to
entere all the hyphens. Following is the format I created.

##-###-###-###-###-###

Thank you for any help you can offer. PLease respond to

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,440
Default How do I keep numbers from rounding in a custom format?

Excel's numerical precision is 15 decimal digits.
For identifiers, like credit card numbers, use text.
Two ways (at least):
a. Format the cell as text before entering the "number"
b. Precede the entry with an apostrophe; it will not show, but force the entry to be text

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"daisyweg" wrote in message ...
| 15 max ?
|
| "Don Guillett" wrote:
|
| 15 max
|
|
| --
| Don Guillett
| SalesAid Software
|
| "daisyweg" wrote in message
| ...
| I need to enter 17 digit account codes into a spreadsheet. the format I set
| up to do this was including the hyphens that spearate various factors
| within
| the account codes. However, when I enter the numbers, the last digit is
| rounding down and I need it to stay the way I enter it. My limited
| experimenting included formating the cells as text, but then I was forced
| to
| entere all the hyphens. Following is the format I created.
|
| ##-###-###-###-###-###
|
| Thank you for any help you can offer. PLease respond to
|

|
|
|


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
Custom number format codes for negative numbers IJ Excel Discussion (Misc queries) 5 September 7th 06 09:54 PM
Formula or Function to Set Many Existing Numbers in Same Format? Sloth Excel Discussion (Misc queries) 0 August 16th 06 05:11 PM
Custom Format for User Defined Function [email protected] Excel Discussion (Misc queries) 5 August 7th 06 11:27 PM
Custom Format Cell nastech Excel Discussion (Misc queries) 13 April 28th 06 08:31 PM
How to format cells to recognize numbers like 1.1.1? GStrawley Excel Discussion (Misc queries) 2 January 27th 06 06:54 PM


All times are GMT +1. The time now is 09:36 PM.

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"