Sanjay Gandhi
asked on
Custom format some 16 9s, convert last digit to zero in the cell
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, works fine.
- San.
- San.
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