decimal places and leading zeros

  • Thread starter Thread starter Vic
  • Start date Start date
V

Vic

I need to format a column of numbers (dollars and cents) from an outside
company to ftp it to a financial website and it must be in the following
format:

Leading zeros to make the cell 10 characters long and can have no decimal
point.

I did a custom format which is fine until I get to a dollar amount that does
not have cents. Example:

Original:
100.25
1.00
550.00
Custom format
0000010025
0000000001
0000000550

Does anyone have any ideas on how I can accomplish this?
Thanks!
 
So you have
0000000001
but you want
0000000100

Assuming that to be the case then you probably want to create a new column
which multiplies the value by 100 (1 becomes 100, 100.25 becomes 10025 ...).
You can then custom format the new column to
0000000000
 
Perfect! Thanks very much.

Jim Thomlinson said:
So you have
0000000001
but you want
0000000100

Assuming that to be the case then you probably want to create a new column
which multiplies the value by 100 (1 becomes 100, 100.25 becomes 10025 ...).
You can then custom format the new column to
0000000000
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

formatting a cell 2
Leading Zero 11
Leading Zero as value not appearance 2
Add Leading Zeros 4
Leading Zeros 2
Another Leading Zero Question 7
Lead Zeros in Text 6
Leading Zero in Hexadecimal? 5

Back
Top