?
Solved

Custom format some 16 9s, convert last digit to zero in the cell

Posted on 2013-12-12
3
Medium Priority
?
389 Views
Last Modified: 2013-12-12
Hi,

In Excel, I want to write a 16 number bank account number. So when in custom format using Format Cells, I use 16 0s (0000000000000000), then while I write a bank account number in the cell ending with 9, then last number changes to zero.

Example: 1234567890123459 changes to 1234567890123450 - why does this happen I don't understand.

Will appreciate a fast reply.

San.
0
Comment
Question by:sanjay-gandhi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 19

Expert Comment

by:jss1199
ID: 39714545
Excel has a maximum precision of 15 significant digits, which means that for any number containing 16 or more digits, such as a credit card number, the last digit is rounded down to zero.

You can do one of two things:

1. Use the apostrophe character
For a small set of number codes, you can type an apostrophe character (') in front of the number code and then add back the leading zeros.

2. Convert the number to text
0
 
LVL 19

Accepted Solution

by:
jss1199 earned 1200 total points
ID: 39714546
Meant to detail how to change to text.

On the Home tab, click the Dialog Box Launcher Button image next to Number.

In the Category box, click Text.
0
 

Author Closing Comment

by:sanjay-gandhi
ID: 39714568
Thanks, works fine.

- San.
0

Featured Post

Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question